Answer Questions
KyleB Find Data in VB2005 program
In VB2005, can I search for specific text or numbers that I want to review or edit (just like find button of MS-Access 2000 Form) in running mode. running mode mmmmmm You can search for any characters in your project using Edit - Quick Find...now that is used in the design environment...as far as searching when in runtime...you would have to implement a search routine for your application! ...Show All
Preky Console and windows application in vb.net
Can I add a windows application to my console application In other words can I have both under one .exe file I know that I can add a form to a consol application and it will appear once I run the .exe file but the thing is that I can not interact with the form. It’s like freezes. Thanks Ali, Is this example written in C# or C++ Sorry I am doing my coding usi ...Show All
John Lambert - MSFT How to fill Specific data in Dataset ??
Dear Team shortly ... putting a where condition in the sqladapter raise error or not works " there is a uniqe or not allow null ......" any idea Thanks for replying i will give you an ex: if a form include 2 tables parent and child....like Orders , OrdersDeatils if the word fill written in the dataset it will gets"select" the whole data even for ...Show All
Cylon2005 Reading characters from a line
I was wondering (DESPERATELY) how to read only certain characters from a line of text and how to define where the code will start reading and how far into the line the code will read. and lastly - is it possible to store these specified characters in a variable I've been messing around with "Mid()" but its not doing exactly what I need it to. THANX I think you should look at the stri ...Show All
Bri68 Processing Serial Data
I need the reduce the processing time in a uMicrocontroller to allow faster sampling times. This has creates a problem in the data collection routine in VB. The old system collected the analog data a converted it to a decimal format before sending it to the serial port. This data is collected and saved using Hyperterminal. The VB program would, when run, would open this file and process the decimal data by graphing it. What I need ...Show All
DrorNahmias Updating a Access Database from Visual Basic
Hi. I'm havng trouble with updating my Access database from Visual Basic. There are no problems when populating datasets from the database, but as I try to update it after some changes, nothing happens.. Anyone got an idea Hege Changes it like this: Dim anyRow As DataRow = Kunde.NewRow() anyRow(0) = antkunder anyRow(1) = TextBox1.Text() anyRow(2) = TextBox2.Text() anyRow(3) = TextBox ...Show All
MaceM Subroutine for KeyPress?
Hi, I have this code to allow only numerical characters to be entered and currently it is only assigned to en text box when I'm needing it to validate many: Private Sub txtCustomerTel_Keypress(KeyAscii As Integer) If KeyAscii = vbKeyBack Or Chr(KeyAscii) = "-" Or Chr(KeyAscii) = "." Then 'To allow decimal numbers, backspaces and minus sign Exit Sub End If If KeyAscii > Asc("0") And KeyAscii < Asc("9") Then 'do nothing if not a number ...Show All
Haitham.ElGhaareeb VS 2005 VB Templates
I want to create a new template project for VS 2005. A VB 2005 project. I have read a bit online, but the information I am finding does not sync up with what I see in my Harddrive folders. I see many templates via the IDE, but I cannot locate them on my HD. I find similiar onex in my VS 2003 folders, but not under Visual Studio 8. Are there MSDN type reference material out there on how to do this You can create your own project templates ...Show All
Mablao making an api call error 126 (findWindow)
I'm trying to get a handle to a window, so I need to make an call to the api to the findwindow function.. so I declare: Declare Function FindWindow Lib "User32" Alias "FindWindowA" _ ( ByVal lpClassName As String , ByVal lpWindowName As String ) As Long Public WinWnd As Long and make the call inside a sub: Dim windowName As String windowName = "Title" WinWnd = FindWindow(vbNullString, windowName) WinWn ...Show All
Yash.cse Saving User Settings
ok, so far my app allows people to choose a prog to add to the menu, however, closing an opening the prog resets everythin, how do i save what about .data how do i use that im sorry, but im already lost :( Maybe u could make a quick app for me to learn off i dont know, im finding this very confusing Hi, use the app.config xml-file to do so: http://msdn.microsoft.com/library/default.asp url=/library/en-us/vbcon/html/vboriintr ...Show All
BBBXXX How do you compare binary files with VB Express 2005
I did this in VB6 with the Open for Binary file command and the Get command, but since VBE 2005 has been updated with new commands, does anyone know what code to use to compare files Thanks. To read/write to binary file, you can use System.IO.BinaryReader() System.IO.BinaryWriter() To compare to files, you can use System.IO.File.GetAttributes() System.IO.File.GetCreationTime System.IO.File.GetLastAccessTime S ...Show All
krompo IDE
When I am in break mode, I cannot update code. I receive message "Cannot currently modify this text in the editor. It is read only." Can anyone explain why I get this message All the Best, Charlie No, I am not debugging a web project. I place a break point in the code, and when I hit the break point I should be able to edit code. I cannot. I get a message on the lower portion of the screen saying "Cannot currently modify this ...Show All
Jim815 cursor in textbox control
I need some help showing the cursor position in a text box on windows form. I’m using two buttons on a windows form to move a text insertion point to the left or right in a single line text box on the same form. The text insertion point does move left and right as commanded but I get no cursor in the text box to indicate where in the text box the insertion point is located. In VB 6 the cursor (flashing vertical bar) in the t ...Show All
suichi27 Blair Allen Stark
Here is the problem I am working on. It asks me to use the method CalculateCharges, but I don't fully understand how to do this or how it works. I would be grateful for any input. Lab Problem III A parking garage charges a $2.00 minimum fee to park for up to three hours. The garage charges an additional $0.50 per hour for each hour or part thereof in excess of three hours. The maximum charge for any given 24-hour period ...Show All
jessj Textbox Text
Once i've opened up my program i have added code to make the filepath come up in a textbox, the only thing is, u cant see the whole filepath, so is there anyway to make it continously move in a marquee fashion Yes.... this was cute! Enjoy.) There are alternative such as innocuous labels and multiline textboxs, but if this is what you want, you have it. Public Class Form1 Protected count As Short = -1 Protected Str = ...Show All
