Answer Questions
Naveed Anwar form1.show() problem
Well, than how can I either: 1) Make form2 as like a "separate" form that is not affected by closing of form1 2) Make another form and make that as the master form without deleting everything from form1 and remaking form1... That would be bit too much work. Thank You! Keehun Nam Create a new form and change your static void main method to call that form instead. This form will hold the other two forms as variables. It's p ...Show All
cl0 Altering "generate method stub" code snippet...
Hi, first of all, I think that the "generate method stub" IntelliSense feature is a really great feature. I thought it would be cool, though, if it also generated a "// TODO: ...", so the item would show up in the task list. So far I've modified the /.../MethodStub.snippet file like this (excerpt): <Code Language="csharp"> <![CDATA[$signature$ { // TODO: Implement $signature$ $end$throw new $ ...Show All
Compound_G code prob
ok i've got this code Dim sText As String = InputBox("Enter some text") If String.Empty.Equals(sText) then return If sText.length <= 0 Then Return Dim oTW As IO.TextWriter Try oTW = New IO.StreamWriter("c:\text.txt") oTW.WriteLine(s) Catch ex As Exception MessageBox.Show(ex.Message) Finally If oTW isnot Nothing then oTW.Flush() oTW.Close() End If ...Show All
WilsonC VWDeveloper 2005 / Password error message
Hello! I installed the VWDeveloper 2005. Started the Personal Web Site Starter Kit and ran this a few times. When trying to create an administrative user (Web Site Menu -> ASP.Net Configuration -> Security), it says (in dutch, translated in english it is about as follows:) Minimal password length: 7. Non-alfanumeric signs demanded: 1. But whatever entered, conforming to these rules, this error-message keeps coming. Help is really appreciat ...Show All
zgchen886 Tableadapter.update() problems
any Master of VB/ ADO etc I also have a problem related to updating the database. I have 3 tables in my VS 2005 dataset. I add each row with data, 1 row at a time, and then I call mytableadapter.update() in order to update to the database. It only works in 1 of the 3 tables The first error is *** System.InvalidCastException was unhandled Message="Failed to convert parameter value from a String to a Byte[]." ...Show All
Jean-Pierre Fouche Unable to add data connection. Key not valid for use in specified state.
Using Visual Studio 2005, I am no longer able to add data connections to my projects. After testing the connection to an existing database and clicking OK, I get the 2-line message "Unable to add data connection. Key not valid for use in specified state." I am able to work with the databases using sqlcmd and SQL Server Express Manager. I ran into to this this AM as well. I had to change my password this ...Show All
jaabrown VB Express Installation on 64 bit processor machine
Hi there: I am trying to install VB Express on my laptop which is AMD Turion (64 bit) processor. The installation hangs up during "insalling components" stage. I am not sure how to fix this problem. I would really appreciate your help. Thanks How long are you waiting Are you installing from a CD or DVD, or over the network Can you temporarily disable any anti-spyware or anti-virus software t ...Show All
Sven Beneke Finding out what a textbox contains
Hi there. I am currently developing a small application to tell users what grade of security their password has. Now, to do this, i need to check what the textbox contains, like signs, numbers, how many lines they are and so on. I can understand the basic syntax for it: If Textbox1 = contains !"# %&/()= then metervalue = metervalue + 5 Well, that is what i have figured out, but i don't know the proper command to see if a textb ...Show All
MartinGoldi Read from ini-File: PInvokeStackImbalance
Hi, I want to write and read some information and configuration in a ini file. I now found a code-snippet for reading and writing from/into ini files: Private Declare Function GetPrivateProfileStringA Lib "kernel32" _ Alias "GetPrivateProfileStringA" ( ByVal sSectionName As _ String , ByVal sKeyName As String , ByVal sDefault As String , _ ByVal sReturnedString As String , ByVal lSize As Long , _ ByVal sFileName ...Show All
Pravin Pagare Read line listbox to variable
Hello I have a listbox and i need some of the lines But how can i write them best to an variable,array() I am looking but doesn't found the right code (instruction) Thanks can this in some loop or something hi, svekke nothing better than a good book, or at least MSDN there are many nice tutorials online spotty gave you a very correct answer but for ne ...Show All
jsmans active directory
hi, I have a mail server (windows 2003 server)... how can i get the list of users, group and e-mail address in active directory can VB do that i'm using VB as an interface to send and receive mails so i want users to get automatic load of email address that available in my active directory of mail server. hi, Is your problem solved IF you are doing this in vb6 then please post this thread in MS newsgr ...Show All
isiran Corbis Image Suite Failure
hello, I would like to know if any people have had a problem installing the corbis image suite. It seem to have been deployed to a temp folder on my machine. I think there may be a path error but before I go and spending time on looking for a resolve I want to check here for time saving ideas. the program downloaded to a zip folder the thing is I have not come across any further instructions. As always with my posts thank you in advance. &nbs ...Show All
Ananth G Extracting sub strings during a for each-getfiles-listbox.add next loop
Extracting sub strings during a for each-getfiles-listbox.add loop Heres my dillema. I want to combine my current 2 button click events into a single click event. button 1 succesfully extracts to listbox1 the file directory of a folder. Button 2 then splits a selected filename into 3 seperate strings using mid references and displays them succesfully into 3 seperate textboxs. But this requires user action. I'd like to be able ...Show All
Alvaro Morales Access - Autoincrement problem
I have some code to add a new record that I adapted from the Developer Tutorials as follows: If _ARecID = 0 Then Dim MyRecords As AUTORECSDataSet.AUTORECSRow MyRecords = AUTORECSDataSet.AUTORECS.NewAUTORECSRow() MyRecords.MFG = MfgComboBox.SelectedValue MyRecords.Model = ModelTextBox.Text MyRecords.Year = YearTextBox.Text MyRecords.DateDone = DateTime.Parse(DatePicker.Text) MyRecords.Mileage = Integer .Parse(Milea ...Show All
snovi Cant read from a database with vb 2005
I am trying to pull info from an access database and I get this message "Cannot start your application. The workgroup information file is missing or opened by another user",... I have it set to use the native jet engine to work with access databases then it asked for a username and password so I made them up and tested the connection - thats when I get this message. So does anyone know how I can get it to function I'm new to this stu ...Show All
