Changing Colors 'linking LED'
Sep 18, 2010Individually 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 RepliesIndividually 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 Repliesi just want to know about programming in vb.net. it is based on traffic light first i have 3 text boxes. now when i hit the tab key it is supposed to change in green, yellow and then red. i got the change of color but i do not know how to assign the tab key in it.
View 2 RepliesI'm using VS 2005 and I've created an Excel spreadsheet and written a lot of data. I've also modified some of the cell interior colors via commands like this:
objWorksheet.Cells._Default(Bline + 2 + i, 1).Interior.Color = System.Drawing.ColorTranslator.ToOle(System.Drawing.Color.White)
But what I am finding is that the borders are getting wiped out.
[code].....
It's purpose is as follows:It basically is a "check list" for installed program's, and files. I image machines on a daily basis, and me making this application will save me hours, and hours of time.The basics:My program basically has 2 forms. 1st form, will be tabbed with "clients" or, different model of PC's. Each tab will have it's own checklist. I know how to pull external files already, though, that's not my issue.Basically, when I click "check list" button, it searches for an "adobe", and "Labtech" Directory. If it exists, it will throw the result into form2.richtextbox as Adobe is installed, or Adobe is not installed. Also, Checks if the second program directory is there, and then imports the info into form2.richtextbox on a seperate line. My question is, how do I change the color of the text per line?I.e. make Adobe is installed turn GREEN, and Adobe is not installed turn RED ect.
Form2.Show()
Form2.Show()
If Directory.Exists("C:\Program Files\ATI") Then
[code]......
How do you make the word you typed in the Rich Text Box change only the words color? Example:
Example Text
* Hello World
Bye World *
Some more Example text I tried this:
If RichTextBox1.Text = "Hello World" Then
RichTextBox1.ForeColor = Color.Blue
End If
But it changed the WHOLE textbox forecolor to blue. I don't want that, just for the word.
I have a datagridview and there are several columns in it whose datatype is in date format. I want it to where if a person changes the date in a cell which is ALREADY colored, I want that color to change to white as soon as they click off of the cell. [Code]
View 11 RepliesI'm searching for a way to change the font size of selected text in a RichTextBox (rtf) having different font families (e.g. Arial and MS SansSerif) and font styles (underline, bold...) using the FontDialog, but without changing the families and styles. The following code resets all the font attributes, which is not what I want:
[Code]...
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 RepliesI 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].....
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 Replieswas 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 RepliesI'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]....
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.
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 RepliesWhat 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]...
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]...
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
I have created a form in VB 2010 and I want a executable file (.exe) to open when the user clicks on that button. What do I need to do to accomplish this?
View 2 RepliesI have a database (sql server) where i store activity information example (activityid,id,summary,signs etc.) I can successfully save this information to the database. what I also want to achieve is to add this information to a listbox so that it can be displayed in the corresponding textboxes at runtime for an encounterid.
View 6 RepliesI have several resource files I would like to be able to access in my Visual Basic program by using code. I have added them in folders in the projects folder, and have also chose the "Include in project" option for them all. However, I am a bit confused when it comes to the correct format for linking them with the code. I didn't think using a full path (starting from the C: drive), then linking to my main project folder, would be a good idea since when the end user installs it, the path would be invalid. I tried to type the path like this: "ResourceVideoABCImage000.jpg" however, I receive an Invalid Parameter error. The only way to make it work is to enter the entire path name.
View 2 RepliesI have one main form and another dialog box that is used to search records. What code is used to declare a public variable in the dialog box form in order to get the record found by the user displayed back into the main form?
View 4 RepliesI need to link different arrays of data that I am gathering from different Select Cases.For Example:Araray A, B and C from Case 1Array C, D and F from Case 2 Note: Array C is common between two cases.I know in C++ I could have used Pointers and use SQL in Java.
View 1 RepliesI have two forms. In form 1, I have a textbox1 and in form two, I have a textbox2 and a button1. Now what I want to do is, write in textbox2 (That is in FORM2) and when I press the button, it just go to textbox1 (That is in FORM1)
View 3 RepliesI am new to vb.net. I am currently programming Space Invaders. Firstly i have two forms What is code for linking form 1 to form 2?
Secondly i have coded and tried to understand arrays. I currently Have
Private Sub tmrUFO_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles tmrUFO.Tick
[code].....
How could I link a Listbox to a Textbox? So each Listbox item holds string data, and when I click that Listbox item, it shows it's string data into the multiline Textbox. For example
I have a listbox item names "Numbers". It holds this data:
1
2
45
84
So I want it to when I select this item in the listbox, it display the number data into the multi line textbox. How would I do this?
How do I go about linking a picture to a database? I'm using VB 2008 Express and SQL Express.I want the user to click a button when editing a recipe; the button click will then open some kind of dialog where the path to a picture will be selected. Then a button on the dialog will be clicked by the user and the picture will be saved to a folder in My Documents called "My Recipes" at the same time the recipe will be renamed using the Title and ID of the record being edited ending up with a name like "Nick's Milktart 237.png" (preferably with a space between "Milktart" and "237"). Also at the same time a link to the database must be created to a field called "Picture".I have never tried linking pictures before, I understand the app. will respond much faster this way as to imbedding the picture into the database.
View 10 RepliesI'm trying to do something that I'm sure is very simple but I cannot find the proper way to code it in my book.My objective is to link employee names in a list box to a form(or new window) with information about the employee.
View 6 Repliesi'm new to visual basic and i'm trying to expand my programming knowledge by creating random projects that include personal advantages. Right now I am trying to create a program that prescribes a series of commands necessary for the execution of game emulators with the touch of a couple buttons. ive created a gui of sorts ... i just don't know to make it function.
[Code]...
I am trying to write an Afterupdate Event code that will automatically update one field if a corresponding value is selected in the other field
View 3 RepliesI have a RTB. I want to print the contents to a printer. KB 811401 does most of what I want. I want the on screen RTB to change size based on the settings of the selected printer. That way the user really gets WYSIWYG between the screen adn the printer. This application prints to labels so it is very important that what the user sees on the screen comes out exactly the same on the printer. Last night I think I found an example that linked the RTB to the printer, but it was an old version of VB that does not work with 2008 .NET and I can't find it today anyway.
View 3 Replies