Answer Questions
wkunz Accessing TextBox "TAG" property programmatically
I'm trying to access the "TAG" property in each Textbox in my form using : For Each ctl As Control In frm.Controls if ctl.gettype="System.windows.forms.textbox" then dim Tag as string =ctl.DataBindings.Item("Tag").ToString end if ' -- the above code doesnt work .. it doesnt retrieve the Tag that i want from each TextBox Next Does anybody know how to do this correctly Please help.. Thank you hw ...Show All
KyleS ADO/Access Questions
I've had a moderate amount of of experience with access databases in vb6. We'd declare a file system object and from that declare a workspace and from that a record set descriptor. One could picture and understand what was happening. VS2005 is different though. You could create and delete tables and define them dynamically. VS2005 seems to be different. It seems that things are done up front in the IDE Almost as if the relatio ...Show All
Jeffrey Litch include DLL widthout make reference....
Hi everyone. I use an external DLL and I want inlay the DLL into my exe program. (I don't want copy the exe program and the dll file, just 1 file!) How can I do that and I can call the dll file in the code Hi, If all you want is to elimintate the need to distribute a separate DLL beside your executable, then another solution would be using the ILMerge utility: http://msdn.microsoft.com/netframework ...Show All
paomeow VB.NET Invalid Characters In Path - Bug?
Alright, here's the background... I'm keeping information about users in a custom file format, basically the first part of the file is the information about a user, then from position 296 through the end of the file is the path to a signature file (bitmap with a different extension). So it loads up the user information just fine, puts it into the appropriate text boxes, but when it comes to load the signature file name, something very ...Show All
Iwin reading file LINE by LINE
I already built a New Character Page that you gill out information like name gender and class that auto-generates stats for the specific character (Stamina, health, mana, strength defence, agaility, and wisdom) and saves each of those stats as individual txt files and puts them in a folder depending on what you put in as your name. Now When I start my game I want to chose what account to play as. I am thinking when I save my character it saves a ...Show All
Ron31416 Looping varibles
I am trying to make a code that loops through 9 text boxes labelled A1 - A9, and places the text of the textboxes to the varibles N1 - N9. This is the code I have got so far but it doesn't seem to work. For i as integer = 1 to 9 nnumber = "N"+ i.tostring Solution.Controls("A"+i.tostring).text = nnumber next Can someone help me Hi, did you try this: a1.text = n1 a2.text = n2 a3.text = n3 a4.text = ...Show All
Omar.Rojas Automate MS Word Doc with VB.Net
I amtrying to pull info from a Sql Server to populate a word Doc using a VB.Net App any ideas You need to create Data Connection, Data Adapter, and a Dataset. For more details on these steps, follow this walkthrough: http://msdn.microsoft.com/library/default.asp url=/library/en-us/vbcon/html/vbwlkwalkthroughdisplayingdatafromsingletableinwindowsform.asp . Let say we have a Data Connection to a Northwind database, and a Data Adap ...Show All
BBes WriteProcessMemory() Api Help
I have a problem with WriteProcessMemory() that I am trying to use. My code looks like this: Public Declare Function WriteProcessMemory Lib "kernel32" ( ByVal hProcess As Integer , ByVal lpBaseAddress As Object , ByVal lpBuffer As Object , ByVal nSize As Integer , ByVal lpNumberOfBytesWritten As Integer ) As Integer Dim appProcess as Process *gets the process* ' I know it works ...Show All
pomp Creating Custom controls in VB.NET
I really need some help when it comes to creating custom controls. I need to know what to do to get started. If someone could give me like a short tutorial or something of how to start then that would be a big help. Thanks! http://msdn2.microsoft.com/en-us/library/ms171725.aspx Thats a link to custom controls in the MSDN library...I however have always liked osmotic exposure or the learn by doing approa ...Show All
Phil J Pearson load library
hi ppl.. i wanted to know wat exactly is the use of loadlibrary function in user32.dll.. is it becomes statatically linked to program using that.. ashtified_85 http://msdn.microsoft.com/library/default.asp url=/library/en-us/wcecoreos5/html/wce50lrfloadlibrary.asp Rgds, Anand http://www.dotnetindia.com ...Show All
Ed_G inheritance template missing in vb.net 2005 express
I'm trying to experiment with form inheritance and created a base form with a couple of buttons. I save and build this base form as a dll. Then I try to add another form which inherits the base form, but the project menu has no items to allow me to add an inherited form. I've also tried adding a reference to the project first, but it still doesn't work. What is wrong Well, thanks to bot ...Show All
Caddre Could Anyone possibly convert this for me? VB6 --> VB 2005
This is a big ask, but effectively i cant complete my program without being able to use the code below. At least i can't find any other way to do things. Basically the below code is the IO for a proprietory data file. Any help would be greatly appreciated Option Explicit On Attribute VB_Name = "mCustomerIo" Type customerrec cu00 As String * 6 ' Header Var cu01 As String * 10 ' Account Code cu02 As Strin ...Show All
Karim ElDeeb Tab ImageIndex problem
I have created a ImageList1 and it has one (1) image in it. I then associate the image list with the TabControl1. For some reason, the image does not show on the tabpage1. What am I doing wrong Below is the code. Thanks in advance for your help. William Public Sub AddDWG() Dim AcadDocs As AcadDocuments Dim Document As AcadDocument AcadApp = StartCAD() Ac ...Show All
Shanknbake Controls Flickering when drawed on the form
Hello there :) This was a Problem in Visual Basic 2003 when having a Form with about 150 Controls the form simply consists of panels and those panels have Labels and controls beside hem the form itself has a background picture ,,, the Panels also have backimages the Problem is when the form is shown the controls are being drawn really slow ... (the form is 1024*768) that wasn't a Problem at all back in VB6 anyway I saw that Visual Basic 2005 has ...Show All
CLover DataGridViewTableStyle
Hi All: Yep I'm a new user, here's my question, I am using the DataGridView1 to display data and I'm trying to use the same style of code I learned when using VB.Net2003 i.e. I would created a "TableStyle" to define the look and feel of a DataGrid and map and fill the Datagrid with the DataSet, this used to work... Dim DGTS as New DataGridTableStyle DGTS.MappingName = "NewList" Dim dgtbcMfrg As New DataGridTextBoxColumn gdtbcMfgr. ...Show All
