VS 2008 Linking To Files
Jul 20, 2010
i have made a little program , however [im new to coding] i dont know how for example when a user clicks file > software i would like the user to go to a program , which is saved in same file as of he vb application.Also how for my legal document can i make a pop up box ,not a msg box , with created by copyright.
View 39 Replies
ADVERTISEMENT
Mar 28, 2010
I have used "buttons" and linked using "process" to files on my C drive but need to have the files added when compiling. What code will I use to ensure all documents and files are copied & available so that I can compile and use on CD.At present buttons do nothing because of not seeing the link to the files.
View 5 Replies
Apr 7, 2009
I have two areas on a form. One scrolls through patient visit details, the other scrolls through each patient's name and address, information like that. Is there a way that I can link these together so that as I scroll through one, the other scrolls as well? Meaning when John Doe shows in the left pane with his name and address, his appointment info shows at the same time on the right? It's using two different tables in the same data set, one for patient info and one for appointment info.
View 8 Replies
May 26, 2011
I'm designing a sign-in program that will give kids points if they invite people to come to the weekly events, and if those guests come then the kids who invited them will get extra points every time a guest of their's signs in. I really need help with this as technically I've only had one semester of programming.
View 5 Replies
Feb 24, 2009
i wanted to link options selected from Comb box A (general) to specific options in combo box B (specific). I want to pick a word in Combo box A that has specific words/phrases in Combo Box B show. But not all the words to show in the combo box B if they aren't associated with the Word picked in Combo Box A. Ex.When "Soda" is picked in A, only "Coke, Sprite, Fanta" should be visible in combo box b, not everything else.
This is the code i used to make the boxes, but i don't know how to link them. Do i use an If/Else/ Case Else statement or what?
Private Sub MainForm_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
' fills the combo boxes with values
[Code].....
View 5 Replies
Sep 11, 2011
i have design two software in vb 2008 and i want the second software to be open from the first one through a button in the first project of software. i have create the button but i need a code that can call the second software or project to open when i click on the button created for the second software or project in the first software or project. in a simple word how can i create button to open another application i design in vb 2008
View 1 Replies
Oct 14, 2009
A friend at work is trying to write a piece of database software for an HND project and when adding his database file, he gets the below error message. I'm too much of a greenhorn to know what it means, can anyone make sense of it?
View 1 Replies
Apr 8, 2011
Using VB2008 and Sql. I have one table and two forms. On form1 I have details view of table and on form2 I have DataGridView of the same table. What I am trying to accomplish is when i click on DataGridView is that details view changes and shows data selected in DataGridView.
View 13 Replies
Jul 6, 2011
I am trying to link a date produced from a month calendar to a three column data source . Col 1 is date and cols 2 and 3 hold password records for use on the selected date. I am able to have the selection from the month calendar produce a result into the label text but cannot see how to relate the date in col 1 back to the label. I am beginning in this world,
View 1 Replies
Jul 14, 2010
I have created some tables in 2007 and would like to use visual basic to create an interface for a database. I would like to add, edit, and view my records and maybe create reports.
Does anyone know of any online tutorials which would help me to do this or could anyone offer any guidance.
I look forward to any replies.
View 1 Replies
Oct 3, 2009
Im trying to tell my button to go directly to a website, it works fine when i path it to the web browser itself, but then when i add it to go to the sppecific site it says system cannot specify file path. Heres the code Rob gave me and it didnt work ""[URL]""" Heres my exact line: Process.Start("C:Program FilesFlockFlock.exe ""[URL]"")
View 5 Replies
Jan 12, 2009
I'm working on building my own UserControl that will display thumbnails. I've got the collection and the items that the collection holds working ok, and I've got a handle on how I'm going to display the information on the face of the UserControl. However, my problem is how to fire the Method that displays the thumbnail on the face of the UserControl when a new Item is added to the Collection?
View 2 Replies
Jul 21, 2009
The Calendar control (the Month Calendar) control in VB 2008. I am creating an attendance timesheet and I want the Calendar to color each date differently like e.g An employee Paul is selected from a list.
On the calendar I select the month. (The dates are not supposed to be selectable). Then lets say it is June. He is late on the 1st and the Second, so those days are supposed to be colored red (the whole block). Let's also say he is absent on the fourth and so I want that date to be coloured black. How do I do this? I tried finding a query and my friend told me that this functionality is not available in the current control and that I was best off making my own control (???).
I have tried selecting specific dates and bolding them (there is a function that allows this) but I am stumped trying to find two different ways to differentiate colours. Second:- How do I link a calendar with an Access Database?
View 10 Replies
Feb 1, 2011
After trawling around the net for a good few days, i decided to post something here.
Basically, i've got a problem linking a data source (Access 2007 database) to a VB 2008 project.
I've broken it down to having a problem dragging a table onto my form, when it generates the nav bar, it says "0 of {0}", and the table is empty (despite the actual database containing values)
However, this happens only at home, at college it works totally fine. The only difference that's obvious is that i'm using Windows 7 at home, and Windows XP at college.
View 2 Replies
May 4, 2011
I am working on a project that requires us to create a bracket type tournament and I am now stuck. I linked my access database to my project, and have 32 labels (lbl1-lbl32) and I cannot figure out how to integrate the labels to read from my database. It can be random or not, I just cannot get the labels to display the names of the fighters.
After the labels are integrated, the next coloum of the bracket has a link that opens a new window with each of the fighters match results, does the link have to include anything particular to display the attributes from the database?
View 1 Replies
Dec 14, 2009
I am trying to create a program which will read the files that exist in a directory, and then write in a text file the specific information (full file name, date created)i have found several code in the site but i cant make it work, the machine i am running the code is XP and i am using VB2008.The code i have found is the following:
Imports System.IO
Imports System.String
[code].....
View 1 Replies
Jul 30, 2009
Having a slight permission problem with Win 7 I am guessing it will be the same on Vista but work fine on XP (yet to try)But my program is sitting in: C:Program FilesCompanyProgram And its trying to create new files alongside itself in the Program Files area but bombing out which I know is permissions. If I go there to create the file myself it comes up with a UAC prompt and when I hit allow it works fine but obv the program can't do that byiteslf so bombs out.Is there anyway I can over come that without the user having to grant admin rights to the program each time it starts or do I have to write data to another place?
View 4 Replies
Apr 1, 2009
I need to scan either a drive are folder and search for .theme .VStyle and shellstyle.dll and there folder/subfolder names.The code scans for all .Theme files on the drive or in a folder, when it finds it it stores the folder name that file is in and also the name of the .theme .
View 4 Replies
Apr 26, 2012
Dim fc = My.Computer.FileSystem.GetFiles(Destination).Countto get the no of files from the directory D:Images9 (Destination=”D:Images9”). It returns the count including the system files present in that directory ex: Thumbs.db How can I avoid thihow to find (search) a particular file in the specified directory.
View 1 Replies
May 4, 2009
I am currently doing a project which is to be linked with another project. I.e., when I click on some button in my current project's page I should get a page from the other project..
View 2 Replies
Jul 9, 2009
I have an e-mail that i send out and everything works fine exceptthe hyperlink doesn;t link.
taskMessage = <a href="C:\Program Files\Microsoft Office\OFFICE11\powerpnt.exe"> Powerpint </a>
myEmailClass.SendEmailMessage("myemail", "your email", "You have a new stalker",
[code].....
View 3 Replies
Aug 12, 2009
I got 3 tables in database namely A,B,C. how am i going to link the column a in A and column b in B to table C so that table C can have both my data a and b?
View 3 Replies
Mar 7, 2009
was just wondering if it's possible to link up excel and vb so that data can be inputted into vb and then transferred to excel which would carry out calculations using functions and send the data back.
View 2 Replies
Mar 17, 2011
I'm trying to do is access a DLL that is outside the original EXE's file structure. So like this
C: estexe estexe.EXE 'The EXE that needs to access the DLL
C: estdlls
eturnstring.dll 'The DLL I'm trying to access.
So far everything I've tried has failed. I keep getting a FileNotFoundException.
I've added the following code to my app.config
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
[Code]....
View 3 Replies
Apr 26, 2011
I've recently decided for my VB final that I'd like to tackle something my professor and I discuss constantly; portable game server apps.
What I'm wanting to do, essentially, is create just a rudimentary programme that allows you to check the server status of either the north American or European servers for the game Rift and just (instead of opening your default browser, which I know how to do already) displaying the info in a listbox inside the programme itself.
The information I have to work with (aside from the obvious direct .php link to the web page) is two separate .xml links that contain all the information that is contained on their webpage. I could easily just turn these .xml files in an access database but I want something dynamic rather than static, but I honestly have no clue of how to turn this info I have into something I can actually use in my programme lol.
View 7 Replies
Feb 3, 2010
I'm creating a system (for a project) that is based on a vet.I want to create a combo box that has a list of different animals (e.g. Dog or Cat etc.)and when an animal is selected,a group box, with loads of checkboxes inside appears. Then the user can tick a check box (a vaccine to be given to the animal) and the record is saved to a database.I have hard coded this to work, but I want a more sophisticated code set, that links to SQL so that when a new vaccine is to be added, I would only need to add it in a table, in the database. I don't know where to start for this could any one give me a nudge in the right direction?
View 2 Replies
Sep 18, 2010
Individually the Draw red and draw white work. The delays work.When in series the only color seen is the last color. Why? [code]
View 5 Replies
Feb 25, 2009
What are the main functions needed to create a .dll file in vb.net which needs to be Explicitly linked i.e at run time to an application Plz post me an equivalent code snippet in VB.Net
Explicit run-time linkingDLL files may be explicitly loaded at run-time, a process referred to simply as run-time dynamic linking by Microsoft, by using the LoadLibrary (or LoadLibraryEx) API function. The GetProcAddress API function is used to lookup exported symbols by name, and FreeLibrary — to unload the DLL.
[Code]...
View 2 Replies
Jun 9, 2011
i've been searching everywhere to try to get this setup. I am running Visual Basic 2008 I have 1 Combo Box that Has 3 Entries, Kyocera>Konica>Toshiba I have a 2nd Combo Box that has entries for each of those manufactors ...Kyocera has 3035,4035,5035....the konica has c250,c352,c452......the Toshiba has c3520, 4520
[Code]...
View 2 Replies
Jan 12, 2011
i've been searching everywhere to try to get this setup. I am running Visual Basic 2008 I have 1 Combo Box that Has 3 Entries, Kyocera>Konica>Toshiba I have a 2nd Combo Box that has entries for each of those manufactors...Kyocera has 3035,4035,5035....the konica has c250,c352,c452......the Toshiba has c3520, 4520
I want it so when i click on Kyocera the 2nd combo box only reads 3035,4035,5035 and when i click konica it only reads c250,c352,c452 etc etc
View 1 Replies