Answer Questions
Matt Disney-Cook Identifier
Public Sub () RaiseEvent Button2.Click(TextBox2.Text & TextBox3.Text) End Sub It says i need a identifier before () on Public Sub (), but im not sure wut i need to do. Can someone post the correct code thx though I was only using strmessage as a way of storing the string that I was displaying. You'll notice there is a line that says Private StrMessage as string This is defining a private module ...Show All
superhugo Program Won't Create New Directory
I can't figure out why my program won't create new directories. My code looks like this: Public Sub CreateDirectory( ByVal directory As String ) My .Computer.FileSystem.CreateDirectory( "C:\Documents and Settings\Owner\My Documents\movdb" ) My .Computer.FileSystem.CreateDirectory( "C:\Documents and Settings\Owner\My Documents\movrat" ) End Sub I'm trying to have the program create the 2 directories "movdb" and "movrat" ...Show All
petdoc Using VB.NET to run External Applications
Is there anyway to use Visual Basic 2005 Express to run external files For example, pressing a button would open Notepad. You could try this approach: D im app As String = "notepad" Dim AppParam As String = "c:\demo1.txt" System.Diagnostics.Process.Start(app, AppParam) I am trying to use the process command to run an external DOS-based program ...Show All
marlow Renamimg an object
Hi, I noticed that when you rename an object at design time that this is what the code looks like: Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdDecide.Click Now I renamed my command button cmdDecide. I'm used to VB6 (using VS2005) now. In VB6 the buttons name normally came after the private sub but here I see it still has the generic name that it was given b ...Show All
Eviakhan Resetting DateTimePicker
Is it possible to display the datetimepicker without values(e.g./ /) As if it only shows the two slashes as separator for the days,months and year.I want to implement this as a default value of the datetimepicker rather than than any other date....thanks in advance... No, I don't think so. ...Show All
Tareq "File not updatable" Adodc
"Field not updatable, Bound Property Name" Adodc. This it is the message that leaves to me when in the DataRepeater I use the RepeaterBindings to associate the field of a customized control with the data base Somebody knows like solving it Code Sample please! Solved. In the ActiveX I put the name of the procedure bad that it updates. ...Show All
rlbjr How to set combo.text after form load
I want to set a default value for a combobox and then call a form modally . frmTest.mycombo.text="Test Value" frmTest.ShowDialog the problem is that the form_load is done after I set the combobox value and overwrites what I set the combo text to. How can I force the form_load and then update the combobox text value Dean 1. The original point was: ...Show All
Paolo Genova Search text in .BIN (binary) file
Hi, I have a file (.bin) that is compressed with the following information: Color Food Color Food Color Food ............... (until end of file) For each string, it'd be 10 bytes long. So I'd read the first 10 bytes, it'd be color1, next 10 bytes, it'd be food1, next 10 bytes, would be color2.... etc. How do I: This is the code I have so far.... visual basic code: I'm afraid I'm going to ask you a few mor ...Show All
chekm8 How do I create a label when the mouse over a button?
When a mouse moves over a button I want to be able to have a label appear. When I right click the right mouse I should have a menu list of choices which appear and can be selected from. How do I do that in beta 2 I had a build that had been compiled and working using beta 1 with everything that I need for the label. It does not seem to matter where I look I still seem unable to find a way to get the same code working in beta 2 with the new comp ...Show All
Dreamtec Rename / Find all references
When I try to rename an identifier (any identifier) using the refactoring option in the context menu the IDE suddenly disappears (no error /watson dialog asking me to send a report to MS, nothing, the IDE suddenly disappears). This also happens when I try to find all references of an identifier (using the context menu). The behaviour is the same for Beta 2 Std Edition and Beta 2 Express Edition. Strangely enough I can rename a class if I ...Show All
ramos_490 Can not save project with vb.net 2005
Hi, I can not save my project. I dont know how to fix it. The error: szAppName: vbexpress.exe szModname: hungapp szModver: 0.0.0.0 offset: 0000000 Win xp, sp2 Pls help. thanks Hi, Are you using the released version of Visual Basic Express 2005 Did you install it on a clean machine Can you describe more about the steps you did before you tried to save your project Did you get any error message or Visual Basic Express 2005 just hang/crash ...Show All
gauer Convert each record in an ArrayList to an array of strings
Hi, Is there some method I can use to convert each record in an ArrayList to an array of strings What I'm looking to do is iterate through the ArrayList collection with a For Each loop and convert each record to a 1 dimensional array of strings so I can use the Join method to delimit the record with commas and then write each record back to a text file - I know a longer way to write each record in the ArrayList but it seems like it would be ...Show All
bob laros Issues with Express Registration and Activation
Now that Visual Basic 2005 and Visual Studio 2005 has shipped the final release, we have a new home for setup and registration issues for VB Express. Please direct all setup, install/uninstall, and registration issues to this forum: Installing and Registering Visual Studio Express Editions Thanks, Paul I tried the IE setting you suggested, but I continue to hav ...Show All
wargammer2005 eroor message
hello there, i am trying to move to the last record using recordset object but i am receiving the following error message: "rowset does not support fetching backward" and this the code: Private Sub Form_Load() Dim con As ADODB.Connection Dim rs As ADODB.Recordset Set con = New ADODB.Connection con.Connecti ...Show All
TonyMan - MSFT Help Fixing Deprecated Function Call
I have an XSL transform function that worked under .net 1.1 that now comes up as deprecated. I get this error now: Warning 1 'System.Xml.Xsl.XslTransform' is obsolete: 'This class has been deprecated. Please use System.Xml.Xsl.XslCompiledTransform instead. http://go.microsoft.com/fwlink/ linkid=14202' Here is how it used to look/work: Public Shared Function Transform( ByVal sXSLFile As String , ByVal sXML As String ) ...Show All
