-
- Help^to make code easier
by Noob2PsP
- 9 Replies
- Last post
by bdbodger
- I have 30 textboxes and 30 labels
The user needs to translate the word of the label to english
But that's much work to code it, one per one....
have somebody an idea to make it easier
this is the code that i use for 1 texbox and label :
Code Snippet
If TextBox23.Text.Trim = "Desk" = False Then
TextBox23.ForeColor = Color.Red
Label16.Fo
-
- getting variables from a class
by programmer01
- 14 Replies
- Last post
by programmer01
- Hey,
I am having a problem. I want it so that if the user types in a certain word then that certain word will be colored cyan in the RichTextBox. So to do this I created a class with 190 string variables of all the words I want colored red, next I made a timer in the form with the rich text box and in the tick event I am putting in this code:
Code Block
private void tmrHt
-
- How can I convert Char* to the System:String in C++?
by Magnivus
- 10 Replies
- Last post
by nobugz
- Hi! I want to convert the char* to the system: tring^. How can I do it thanks a lot!
-
- An error occured that usually indicates a corrupt installation (code 0x8007007e).
by Cool Shashank
- 6 Replies
- Last post
by iamtgo3
- Hi everyone
After Compiling, Linking, Building and Deploying an application, I am getting the following error:
Unable to start program '%CSIDL_PROGRAM_FILES%\dial\dial.exe'. An error occured that usually indicates a corrupt installation (code 0x8007007e). If the problem persists, repair your VS installtion via Add or Remove Programs in Control Panel.
I tried repairing but still I
-
- Text box
by airsam
- 3 Replies
- Last post
by Chris626
- How can I create a large text box, not for user input, but me to write in. The "Lable" control just isnt long enough. To make it go onto the next line I have to make another lable. Help please!
-
- .NET Project Template
by Traps
- 6 Replies
- Last post
by orcmid
- I am just starting to learn c++ and would like to dive into visual c++ using the .net framework.
I have downloaded and installed vc++ 2005 express, installed the platform sdk, updated the directory paths, and modified the indicated files. I have also installed .net framework 1.1, 2.0, and 3.0
2 questions...........
1) Can I safely uninstall .net 1.1, and 2.0, and not cause any pro
-
- Inline Functions
by Nate879
- 6 Replies
- Last post
by ReneeC
- How do I use inline functions in VB
-
- SQL and DataGridView problem
by C#Newbie01
- 13 Replies
- Last post
by C#Newbie01
- I am trying to get a dataGridView to show data in my database, but am having some problems. I was hoping someone could explain what I might be doing wrong. 1) I want to show only the cells I want based on the value of a particular column value, but I always get all of the columns showing up. 2) I am trying to use the AS clause to rename the columns, but they are not renaming. 3) The WHERE Clause
-
- Can some one tell me how to find the default icon please.
by chris441962
- 14 Replies
- Last post
by ReneeC
- Hello.
Can some one tell tell me how to show the default icon
in a ListView box please Av only bean learning programming about 3 or 4 weeks now, and am stuck on the this.
Am making a cleaning program, the files and the path show
in the Listview box, but I want the default icon to show as well.
Your help will be very much apresiated.
Hears wishing every one a merry Christmas and a
-
- Webbrowser control versus I.E. Explorer
by briendjf
- 14 Replies
- Last post
by briendjf
- Hello,
I have an application running with a webbrowser control. In some webpages I get script errors . When I navigate through these same pages, outside the application , and using I.E.7, I have not these script errors.
Is there somme differences between the Webbrowser of V.B. and the I.E. 7 browser
-
- connecting to sql server
by ishkabibble
- 2 Replies
- Last post
by spotty
- I was using VB Express Edition to connect to SQL Server Express to test the Northwind data base example. This was working fine, then all of a sudden I can't connect anymore. I can't even connect to SQL Server to create a new data base. The following message displays:
An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caus
-
- Richtextbox and image
by Anonymous568038
- 9 Replies
- Last post
by Anonymous
- Hi,
I'm using a richtextbox to make mark-up artikels. These articles are intendent for the web so I have to convert the RTF format used by the richtextbox to HTML.
Also I have to extract the images from the richtextbox. This gives me a problem. I can copy the image from the richtextbox to the clipboard but I can't save it to my local harddrive.
Im using this code:
Cod
-
- Object Null Reference
by DJSTU
- 14 Replies
- Last post
by DJSTU
- I keep getting problems with listview controls sometimes it runs fine sometimes it dont, the line ive highlighted below in yellow is the line that sometimes causes the exception, hopefully someone could explain.
Code Block
Public Sub loadplayer1()
If Mainform.player1.playState = WMPLib.WMPPlayState.wmppsPlaying Then
MsgBox( "Player Currently Active" , Msg
-
- Multiplacation
by Urmom0
- 9 Replies
- Last post
by Urmom0
- Hi guys, I'm pretty new to Visual Basic. For my first project, I'm trying to make a calculator for a browser game that I play. I have it so that I use numeric up down boxes which range from the numbers 1-5. I want it so that when I click a button, it will multiply a number that is in a text box by 1.07 for each number in the numeric up down box, but if it is more than once then I want to multiply
-
- compare two files
by azelkins
- 10 Replies
- Last post
by nobugz
- Hello,
I am inserting files into seperate textboxes using the built in streamreader. After the insert is complete, I am trying to look for the differences between the two textboxes. So far, I can get it to tell me that the files are different but I ca't seem to be able to display the differences. Any help would be great.
Here is what I have so far!
Private Sub CompareFile( By
-
- Two Computer Screen.
by Jeremy6996
- 14 Replies
- Last post
by Martin Xie - MSFT
- Is it possible to create an applecation that can view, for example the desktop is display on one mondratore, while a full screen applecation is displayed in the other. Both viewing from the same computer.
-
- Newbie on adding an instance and calling a method
by 2006
- 8 Replies
- Last post
by Figo Fei - MSFT
- I wrote a class (MyProj) lib with a method (ReadThis) and compiled it successfully. Then I created a console app - How do I - add a code to create an instance of "MyProj" - call "ReadThis" Pls help with the following: static void Main(string[] args) { MyProj; ReadThis(); }
-
- basic question in installation
by Siddugan
- 5 Replies
- Last post
by orcmid
- Hello ppl, I have a basic problem with the installation of Visual C++ express edition. When I try to run a very simple program I get fatal errors c1083. But I dont think this is a problem with only the express edition. I tried another compiler too and got the same error. Is there something else I need to do after I install visual C++. The thing is I have another software which uses visual C++ for
-
- Save File Dialog question?
by C#Newbie01
- 8 Replies
- Last post
by C#Newbie01
- Hello, I am trying to use the SaveFileDialog to save a file from one location to another, but I cannot seem to get this to work, and all of the articles I have seen have me kind of confused. It appears that it is most common to open the file being saved with a stream, but I am trying to save .exe files, so I am assuming this is why it has not worked for me. How would I go about saving these files
-
- Webbrowser control versus I.E. Explorer
by briendjf
- 14 Replies
- Last post
by briendjf
- Hello,
I have an application running with a webbrowser control. In some webpages I get script errors . When I navigate through these same pages, outside the application , and using I.E.7, I have not these script errors.
Is there somme differences between the Webbrowser of V.B. and the I.E. 7 browser
-
- making other form's close button disabled
by Puntor
- 4 Replies
- Last post
by Puntor
- I need to make a timer in my form to find what form is active,even if it is not from my program and using a shortcut or hotkey ,Ctrl and one would be convenient disable the close button in that form.Is this possible in Vb.net and if it is,could you please post the code at least for the finding the factive form and disabling the close button,im more lost in these two,at least i have a little idea o
-
- Problem installing Visual Basic 2005 Express
by Mikeyo
- 5 Replies
- Last post
by Mikeyo
- Hi. I try installing VB 2005 express, and I get about 3/4's of the way through the installation, when an error message comes up. It reads: Error 1935.An Error occured during the installation of assembly: 'mscorcfg,version="2.0.0.0",Fileversion="2.0.50727.42",PublicKeyToken="B03F5F7F11D50a3a",Culture="Neutral",ProcessorArchitecture="x86". Please Ref
-
- On start aplication closes without error... but...
by AndrejS
- 2 Replies
- Last post
by AndrejS
- So here is my complete problem.. i have a aplication working on another computer with dot.net 2 instaled... i compiled aplication with all dll's in the same directory with the app and it works.. but when i put it on network drive... on our windows server... aplication just starts and 3 seconds later closes without and error ! was anyone in similar situation ! is there any whey knowing what is wro
-
- is there any otherway to bind the textboxes into data in a database (except for bindingsource)
by pinoyz
- 6 Replies
- Last post
by pinoyz
- is there any otherway to bind the textboxes into data in a database (except for bindingsource)
-
- How to delete form on FormClosed event?
by mark0
- 4 Replies
- Last post
by mark0
- I need to set the form to "delete itself" on FormClosed event Can someone plz help me about this Sorry for my bad language... EDIT: On the second thought, do I need to delete form if I'm using it just like this:
Code Snippet
private:System::Void btnFoodOverview_Click(System::Object^ sender, System::EventArgs^ e)
{ frmFoodOverview^ dlgFoodOverview = gcnew frmFood