-
- HELP! HELP! HELP!
by Leo Fi
- 10 Replies
- Last post
by Mark Benningfield
- Hi im new and heres my problem:
I want to create a program where you can create accounts and log in (somekind of password protected database) and see data of accounts and stuff like that. where do i start and do i have to do
-
- Compliled VB.NET application takes too long to load after a cold boot?
by Rashar
- 2 Replies
- Last post
by Rashar
- Hello,
I have completed and deployed a compiled version of a vb.net application. What I'm finding is that when I run the compiled program for the first time after a cold boot, it takes about 2 minutes to get a response from the app sitting at the splash screeen, and then after 2 mins or so the response is usually a Timeout message.
If I try to run the app again, it loads in less than 5 secon
-
- confirmation for save project
by Al Chu
- 3 Replies
- Last post
by Al Chu
- Hi
When I close the solution (File-Close Solution), I have a popup screen asking 'Save changes to the following items ' That's good.
However the confirmation appears only when I close it without running it after change. Once I have executed the program using the start debugging button, the popup doesn't appear at close.
Is there any option setup in the IDE to get the confirmation rega
-
- DataBinding + Manual Field
by sahm
- 11 Replies
- Last post
by Jon1s
- Hi,
I have an application with a customer Access database (.mdb). I used DataBinding and everything seems to work fine when I just update inside the form control fields. However, for the OrderID filed I would like to manipulate the data through the progam and then update the database. How can I update the database with a variable value if I am using DataBinding for the rest of the fields.
-
- Array of text boxes
by bk13
- 6 Replies
- Last post
by nobugz
- I need to organize some text boxes into an array. Assume I have six text boxes names A0 through A5. I have some data to display in each. The code to do this looks a bit like this:
A0.Text = Convert.ToString( data[0] ); A1.Text = Convert.ToString( data[1] ); etc
By the time we code up all six, and when more processing is needed, it gets rather ugly. I would like it to look more like t
-
- Publishing my software
by David Ison
- 7 Replies
- Last post
by Priyank Vaish
- Hi All,
I have created a little utility to update some files on colleagues machines, however when I try and publish the program it works on my machine but will not run on anyone else's.
What I am trying to achieve is that they click on 'crog.exe.' and it works!
It seems to be publishing with all sorts of files such as .manifest and exe.config etc...is there any way of me getting rid of al
-
- Database decimal to convert to double for Equations
by MechEng85
- 8 Replies
- Last post
by MechEng85
- Here's a nub question.....
I have a database and i'm trying to bring in decimal info into a form and use the decimal in equations. when i do that i get an error saying "cannot convert string to double" how can i resolve this issue
Thanks,
Rob
-
- To Stephen J Whiteley and Microsoft
by Carsten Kanstrup
- 8 Replies
- Last post
by Spidermans_DarkSide - VSIP
- So this is the style of this forum. Completely undocumented statements about the quality of my work and reliability of my informations, and then you ask me to complain if I like, but lock the thread so that I cannot do that or defend myself! Let us see if you have the courage to let this post pass or you are just a coward!
I may be a beginner in VB, but I am certainly not a beginner in pro
-
- Can't run app...
by CyberLord_Dan
- 4 Replies
- Last post
by CyberLord_Dan
- I'm programming using microsoft psdk, and i have the following file: #include <windows.h> class Fereastra { public: HWND hwnd ; MSG msg ; WNDCLASS wndclass ; HBRUSH culoare; void initializare(HINSTANCE hInstance,int iCmdShow) { LRESULT CALLBACK WndProc (HWND, UINT, WPARAM, LPARAM) ; wndclass.style = CS_HREDRAW | CS_VREDRAW ; wndclass.lpfnWndProc = Wnd
-
- Sharing info from Windows Forms
by Carlo Rivolta
- 7 Replies
- Last post
by Ken_L
- I create 2 forms. Inside form #1 I have inizialized a class (I built) which works with a COM. On this form there are some button for that.
I would use the form #2 with the same class without inizializing again.
I would open form #2, insert the information and then use the class istanziated into form #1 to communicate ( to send via COM).
How can I use my class
How can I pass the inf
-
- Adding sound, linking to a text file and disabling buttons
by Hannah_12345
- 3 Replies
- Last post
by js06
- I'm having lots of problems with a game I am making in vb.net. It is a game not unlike hangman but instead of adding to the picture, each time the user gets a letter wrong one of the 10 pictures disappear. When this happens I want to play a sound file and I am just unsure of how to do that.
Another problem I have is when I am trying to record high scores I can get it so that the program kee
-
- DataGridView - getting HeaderText of clicked ColumnHeader
by szuccaro
- 3 Replies
- Last post
by szuccaro
- vb.net nooby question, sorry if it seems simple. I am trying to retrieve the HeaderText when a person clicks on the ColumnHeader. I am using a DataGridView. Here is the code and sub I am trying to use:
Code Block
Private clickedColumn As DataGridViewCell Private Sub DataGridClient_ColumnHeaderMouseClick(ByVal sender As Object, ByVal e As System.Windows.Forms.DataGridViewCellMouseE
-
- List all files on server(in listbox) and download them .
by Amrykid
- 3 Replies
- Last post
by Martin Xie - MSFT
- how to i list all files related to the search in textbox1 and display them in listbox1.
-
- Can't debug with breakpoints
by Anonymous560287
- 5 Replies
- Last post
by Anonymous
- This stuff was working a few weeks ago, then when I tried to set a breakpoint in a program I got a file dialog asking for:
f:\sp\vctools\crt_bld\self_x86\crt\src\mcrtexe.cpp
I fooled around with different stuff for a while to no avail. It was time to get to first principles. I started a new CLR console app. Compiled the basic 'hello world' that you get by default. Clean compile. It
-
- Open .net Command Prompt Programatically
by Sidheshwar
- 13 Replies
- Last post
by iterationx
- Hi All,
I need to open .net command prompt in windows Application in c#.
Please suggest.
Thanks in advance,
Sidheshwar.
-
- When launching a web link, any open IE window should not be replaced
by Bamix_O
- 4 Replies
- Last post
by Martin Xie - MSFT
- I have a small application form that is used to launch or open other related items, pdf documents and web pages
and etc. One of the examples of code is listed below. What I'd like to assure is if the user already has an IE window open for something else that this window is not replaced by the target of the link. Is there a way to force that IE opens a new window for the target page of the link
-
- Creating a button click event for an Array of buttons?
by shemtheo
- 3 Replies
- Last post
by JohnWein
- I have a quiz form with well over 4,000 lines of code that I'm trying to shorten down. I have all the functionality that I needed but I'm trying to see if I can get it to do the exact same things with much less code.
On the form I have 25 buttons numbered from 1 to 25. Each button's click event has 35 different 'select case' possibilities but they are exactly the same cases for each of the
-
- Determine if file is open/in use?
by nbrege
- 4 Replies
- Last post
by Bruno Yu - MSFT
- I'm sure this is easy to do, but I couldn't turn up anything in a search ... how can I tell if a file is open or in use by a user The only way I can think of is to try to move it or copy over it & see if there's an error, but there's got to be a better way. Anyone know Thanks...
-
- snmpMgrOIDToStr and snmpMgrStrToOID
by dmartins
- 3 Replies
- Last post
by Figo Fei - MSFT
- How does snmpMgrOID2Str and snmpMgrStr2OID makes the convertion Does it read mib files in system32 Is it possible to load some specific MIB regards Daniel Martins
-
- One question
by mark0
- 2 Replies
- Last post
by mark0
- Code Snippet
private: System::Void frmPretraga_Shown(System::Object^ sender, System::EventArgs^ e) { ListViewItem^ item; item->Text = "Something"; ListViewItem::ListViewSubItem^ subItem; subItem->Text = "Sometning else"; item->SubItems->Add(subItem); listViewMyListView->Items->Add(item); } What is wrong here There is a NullReferenceEx
-
- Data grid view controls
by jenx222
- 14 Replies
- Last post
by jenx222
- How do i get the data grid view box to work in my application. For instance save data to a file and open data from a file, and get the copy, cut and paste controls to work in my application. e.g. the copy control in a RTB = rtb.Copy and the copy control for a html editor is HTMLDoc2.exeCommand("Copy"), what is this command in the data grid view box Can any one help
-
- Printing in console application
by RayV62
- 2 Replies
- Last post
by RayV62
- How can I can print from within a console application
VB 6 used to have the 'printer' available on system level.
In VB express there is the PrintDocument class from the namespace System.Drawing.Printing. This namespace however is not available for console applications.
Does anyone know how I can print from within a console application
Thanks,
-
- scroll bar
by wencey
- 3 Replies
- Last post
by wencey
- Ive a very long picture box which cannot fit into a window screen...how to hav a scroll bar below so that i can scroll to the right and see the remaining part of the picture box
-
- Change an integer in another form
by Counerstrike1
- 2 Replies
- Last post
by ahmedilyas
- What im trying to do is change an integer in form1 from form2.
Code Snippet
Private Sub Form1_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load
Dim x as integer
x = 0
End Sub
Private Sub Form2_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load
-
- Is there a way to shorten this?
by TyeJae
- 9 Replies
- Last post
by tyejizzle
- Is there a way to shorten this code
Code Snippet
Private Sub CopyToolStripButton_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CopyToolStripButton.Click
If TextBox1.SelectedText <> "" Then
Clipboard.SetDataObject(TextBox1.SelectedText)
End If
If TextBox2.SelectedText <> "" Then