Answer Questions
Jimmy Zimms Losing Columns from DataGrid
I may have found a bug with the DataGrid. Everytime I go import an image to a button. I lose the columns in my datagrid. I also will lose them sometimes when I go and recompile and start debugging. It is starting to be a pain to have to add and readd the columns. So, for know I left them out till the end. Is anyone else having this problem Hi, If you could produce steps to ...Show All
Raananan search listbox for more than 1 character
My datatable dtTry has many fields among which are: personal number i.e. pno (key,char(2)) photo (image). With the code below, the listbox is populated with pno's for all records in the table. When i select any, the corresponding photo is displayed. Fine. Now, supposing pno's are "01", "02", ..."10", "11", "12", ... On loading, "01" is selected by default (item no 0). If I press '1', pno of "10" is selected. Fine. But I want to ...Show All
Scott Stubbs FORMATTED Read and Write
I used to code in FORTRAN and I'm exploring the Visual Basic programing. I'm clueless about Visual Basic Read/Write procedures. Let's say a file named "input" consisting of 6 lines and structured as shown below: (the contents of "input" file are shown between the two single dash lines) ---------------------------------------------------------------------------- Title line ...Show All
Gabriel160938 Radio Buttons within frames
I am trying to set several frames with radio buttons in each frame. I currently have two frames with 3 option buttons in each. I have the understanding that I can have one button in each frame with the value set to true. I can not make this work. If I select a button from one frame then go to select an other option button from the other frame the previously selected option button becomes selected. I have tried recreating the buttons and frame ...Show All
DeepthiPinto Visual Studio Is Busy?
Pentium IV - Northwood 3.5 Ghz - I Gb of Ram. XP SP2 .. all current patches applied. VS2005 RTM Team Suite On occasion while debugging the IDE becomes nonresponsive and I receive a Bubble message informing me that "Visual Studio is busy waiting for an internal operation to complete - If you receive this message often, please inform Micorosoft" After I receive this message the IDE never recovers. All I can do is to de ...Show All
Alex Jimenez line concatenation
having a problem using line concatenation have a constant with multiple lines (5 lines). when I use the line concatenation & _ at the end of each line. I then save my work; call up VB; the & _ is lost and replaced with & only. My line concatenation does not work. I have looked at my tools --> options to see if I have a setting that needs to be clicked and unable to find the answer. please help (using VB6) thanks. ...Show All
piaqt clearscreen()
I want to clear the user typed content of a textbox and the results which appear in labels as a result of the code in my command button. I thought I could create a command button, label it btnClearScreen and code it ClearScreen() however, when I do this, VB.Net tells me that ClearScreen() is not declared. I thought I read that ClearScreen() would clear data on a form but not save it. I take it ClearScreen() is not a built in (method) ...Show All
Bruce Fullwood Where to get .NET 2 Distribuable package and how to save on my server for click once?
OK..Dumb question I know... When I deploy an app and the client does NOT have .NET 2, how can I have them pull those files from MY SERVER instead of Microsoft's Also, where can I download the files. I saw in click once I can choose a place where my prerequisites come from..I am guessing that is part of the trick, but don't know how to exactly implement that and what files I need. Thanks! Carl http://msdn.micro ...Show All
Nicholas Key Help Trying to Create Project Get Errror 0x8007007B
Hi, I just installed Visual Basic 2005 Express Edition. When I try to create a new Project (File --- New Project --- Windows Application) I get the following error: The filename, directory name, or volume label syntx is incorrect. (Exception from HRESULT: 0x8007007B) I tried changing the default directories for projects, that didn't work. I rebooted. I tried starting a different type of project, all with the s ...Show All
Amol Rajimwale System.Drawing.Image.FromStream (objMemoryStream).....exception - Invalid parameter used
G'day, I've been working on some code that extracts SQL server Image fields to Byte() arrays then converts them, via this little function, to a System.Drawing.Image. I use a collection of images through out the entire application. Now this has been passing in Nunit tests until the 12th July 2005. Now it fails. Where do I begin to solve a problem like this Public Function ConvertTo( ByVal ImageArray As ...Show All
Tami19813 Threading Nightmare
Why doesn’t this work: [code] Dim spawner As New EmmaModuleSpawner(moduleType, params) If runInOwnThread Then _ System.Threading.ThreadPool.QueueUserWorkItem(New System.Threading.WaitCallback(AddressOf spawner.open), state) System.Threading.Thread.CurrentThread.ApartmentState = ApartmentState.STA [/code] ERROR: …Current thread must be set to STA mode before OLE calls can be made… But this does: ...Show All
Flippin_Useless Calling Procedures
How do I call one procedure (button_click) from another procedure (timer) Key line is highlighted in brown background... Public Class Form1 Inherits System.Windows.Forms.Form # Region " Windows Form Designer generated code " # End Region Private Sub Timer1_Tick( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick Call Button1_Click(sender, e) End S ...Show All
WebSnozz C# or VB ?
other than familiar syntax is there any reason to use VB instead of C# is the difference only syntax so, which does he say to choose Its not. Both languages use the same framework and are compiled to the same il code. The primary difference is syntactical, with some very minor differences in functionality. To say that one language is better at implementing a particular technology is meaningless; they both use the ...Show All
QualyLee Build number (version number)
I would like to know the build number e.g. the version number after each compile. Preferably I'd like it to be visible all the time in my project. Is this possible Where can I see the build number I want to know the build number that is created by Studio during development to be able to comment my code with the version number that currently is is used. Again this because I want to have better control of when and where fixes has been made ...Show All
timw86 Problem with msgbox
I have a problem in VB.Net with the msgbox function. When it runs, it does not always display. Sometimes it just pops onto the taskbar, but and I have to click it to get it to display. The msgbox is coded as follows: Dim Reply As Integer Dim style As MsgBoxStyle style = MsgBoxStyle.YesNo Or MsgBoxStyle.Question Or MsgBoxStyle.DefaultButton2 Reply = MsgBox( "You have made changes to this record, do want to save them &quo ...Show All
