Topics
-
-
- Administrators
- 1 reply
- 1.5k views
hey its mike... thanks in advanced... im trying to make a program that will inter act with a wifi car... i have it done in vb6 and am trying to transfer it to vb.net in 2010 express... here is the vb6 code vb 6.txt and this is what i have so far for the vb.net... my problem is the keystrokes on the arrow keys dont register vb 2010.txt thanks again for all your help if u need any more info ill give u what i can
Last reply by PlausiblyDamp, -
-
- 1 reply
- 6.3k views
I want to give my form an alpha-blended drop shadow. How would i go about doing this? Thanks
Last reply by shadmehr, -
- 0 replies
- 2.1k views
Calling Fortran DLL from VB.Net Program Hi Everyone, I need help with the following, I appreciate if someone can help. I have problem with calling a Fortran DLL from VB.net Program. The VB program provide the GUI while the Fortran DLL does the calculations. The Fortran DLL opens and reads from data files supplied by the VB program. however, DLL program displays a message that says it can not open the file. this is VB declaration of the DLL: DeclareSub WIDTH_SUB Lib"C:\ALI\Namoi_TM\Data\Test\WIDTH_SUB.DLL" (ByVal Rating AsString, ByVal Rating_Len AsInteger, _ ByVal Height AsString, ByVal Height_Len AsInteger, _ ByVal Output AsString, ByVal Output_Len AsInt…
Last reply by Aliyoos1, -
-
- Leaders
- 4 replies
- 2.6k views
Hi I can't figure out why this is happening. The app throws a nullreferenceexception on Me.Controls.Add(tab(count)). Public tab As Tab() Public wb As WebBrowser() Public count As Integer = 0 Public Sub NewTab(ByVal url As String) Try wb(count) = New WebBrowser tab(count) = New Tab wb(count).Name = "wb" & count.ToString() wb(count).Location = New Point(0, 69) wb(count).Size = New Size(903, 517) wb(count).Navigate(url) tab(count).Name = "tab" & count.ToString() If (count > 1) Then tab(count).Size = tab(count - 1).Size If (count = 0) Then tab(count).Size = New Size(212, 32) If (cou…
Last reply by snarfblam, -
-
- 2 replies
- 2.6k views
On my computer i have both mssql 2000 and mysql 5.0 installed and i'm trying to link to the mysql server through the mssql. I've used this: sp_addlinkedserver @server='MYSQL2', @srvproduct='Test', @provider='MSDASQL', @datasrc='', @location='', @provstr='Driver={MySql ODBC 3.51 driver};Server=localhost;port=3306;Option=131072; Database=MobilePhones;uid=root;pwd=mypwd', @catalog='' but when i try to access the linked server i get an error stating that it can't find the data source and that there is no default driver specified. what am i doing wrong here?? I've tried linking to an access database and it worked... And one more thing: Option=131072 what does …
Last reply by gaiusgracchus, -
-
- Administrators
- 1 reply
- 1k views
HELP :) I have a problem, i have been given a file genereated by Microfocus cobol. Most of the data i can extract ok, except for a couple of fields which are 4 bytes long. i have tried a number of unpack routines but none seem to be working any help would be much appreciated i am currently running the app in vb.net cheers frank
Last reply by PlausiblyDamp, -
-
-
- Administrators
- 1 reply
- 893 views
Say I have 1,000 assemblies, each one changes fairly frequently with change effective dates. What's the best way to determine which set of assemblies to use for a specific "as of date"? Thanks, Alan.
Last reply by PlausiblyDamp, -
-
-
- Administrators
- Leaders
- 9 replies
- 7.6k views
Hi. I have a hidden form in my app. When i call that form's Close() method from another form to close it, the form's FormClosing() and FormClosed() events are not raised. Is this behaviour normal and expected? Tq.
Last reply by tchien69, -
-
-
- Leaders
- 1 reply
- 2.3k views
hi all, I am used in me.showintaskbar property to remove application from taskmanager.but it removes the form(application)it still refreshes.How to stop the form refresh.to avoid that issue please help me. In one simple vb.net windows project containing one form ie, form1 its property "Showintaskbar=true" it is set.in that same form one button is there ie,button1. button1_click() event i write the following code: "me.showintaskbar=false". After run a project form1 is display in taskbar & taskmanager application tab.But after clicking button1 form1 removes in iaskbar & taskmanager but these form has refreshes.How to stop these form refreshes?
Last reply by snarfblam, -
-
- 0 replies
- 1k views
Hi, Since I sign my project .exe files with my code signing certificate, I want to check in my application MainForm_Load if the executable is signed and the signature is valid? If not signed or signature has been tampered it must exit the code. So what do you think guys about this? How can I check this? Thank you :)
Last reply by usvpn, -
-
- Administrators
- Leaders
- 8 replies
- 2.4k views
I need to pass an XML value which contains a "<" When I load the XML document containing "<", the program throws an error farther down the line, thinking that I have started a new node Is there a way to pass this value, or do I have to change the character as part of error handling? Here is an example of what I mean: <Contacts> <Contact Notes> <RecID> DJDEWYDHD>/#</RecID> <Notes> Here are some notes</Notes> </Contact Notes> </Contacts>
Last reply by PlausiblyDamp, -
-
- 2 replies
- 1.9k views
Hi all. I have been trying to work into converting software from ADO to the much needed ADO.NET. I am stuck on something though. Public Function adoQuery(ByVal sqlQuery As String, ByVal table As String, Optional ByVal ignore As String = "") As DataSet Dim SQLConnection As New System.Data.SqlClient.SqlConnection(connectionString) Try SQLConnection.Open() Dim SQLString As String = sqlQuery Dim SQLCommand As New SqlClient.SqlCommand(SQLString, SQLConnection) Dim SQLAdapter As New SqlDataAdapter SQLAdapter.SelectCommand = SQLCommand Dim SQLDataset As New DataSet SQLAdapter.Fil…
Last reply by orca44, -
- 0 replies
- 2.6k views
I've got a bad version of this algorithm working, bad because my graphic object which i'm trying to move to where i clicked the mouse, still doesn't move in a straight line to the final x,y position I realise i could do this easier with XNA and vectors, but i'm just obsessed at this point since people have been doing this sort of movement in games for over 15 years (Diablo, Baldurs Gate, Age of Empires, blah, blah, blah...) It's just a straight on movement, so i don't need any sort of pathfinding(A* or something like that) here is the relevant code, I know I'm losing precision when I update the playerShip position, which is the cause of the problem, but how to fi…
Last reply by heater19, -
-
- Administrators
- 4 replies
- 3.1k views
1. Custom Control with 2 Textboxes Publicly define Int Sum = textbox1 + textbox2 values 2. A new Form and Add the Custrom Control created A third Textbox which will take value from CustromControl.Sum The Tricky issue is , Event Should Occur when ever the Textbox1 and Textbox2 values are changed in the Form . and Textbox 3 should get automatically updated. can anyone who's done this help me with this ?? Its something I've tried using A delegates and events but its never getting invoked in the main form . Any Help would be appreciated Thanks
Last reply by PlausiblyDamp, -
-
- 0 replies
- 1.7k views
In VB.net 2005. I attach an imagelist to a listview in details mode so that I can put icons on the column headers to indicate sort direction. This works fine but it also puts a blank area in front of every row inserted into the listview, presumably it is space for an icon. I will not be having icons on any rows in the listview. Is there someway to remove this blank space or to have the column headers use an external imagelist that doesnt make the listview put the space there in the first place?
Last reply by Worker, -
- 2 replies
- 1.7k views
hi i am an amatuer developer and i need to develop an application that use symbol mc70 to scan barcodes then show it in textbox or listbox and add it to database. I know how to add it to database but i dont know how to control the scanner. So can u help me with this problem. thx in advance
Last reply by Gwasshoppa, -
- 4 replies
- 3k views
Hi I am developing a very small exe application on a Motorola MC55 that simply accepts a barcode into a textbox, and sends that barcode (via bluetooth ActiveSync) to the cursor location on the PC. The cursor location will be emPOWER (an accounting system)... although this is probably irrelevant as it could just be notepad... I simply want to sent the barcode directly to the cursor position on the PC. This can be easily achieved with a dumb scanner attached to the PC via a COM Port, but the reason i'm not using a dumb barcode scanner is because some of the barcodes require manipulation before they are sent to the PC. i.e. a barcode 99019-24 would need to be sent…
Last reply by Gwasshoppa, -
-
- Leaders
- 2 replies
- 2.2k views
I am new to programming. Things have been going fairly well with these entry level concepts, but I am having a hard time understanding this one. My hope is that someone can explain it in a way that makes it click for me. The following is the whole project. My specific difficulty lies with the "while (line != null)" and the "if (line =! null)" sections. In English, we are saying, do this block of code while the variable "line" is not empty. My problem is, we declared the variable line = ""; isn't an empty string "" equal to null? So why does this block of code fire? Doesn't that make it empty, so it's not "not empty" when it tests the condition? I can't wrap my arms ar…
Last reply by jimmythefloyd, -
-
-
- Leaders
- 1 reply
- 1.4k views
Hello again... i am here again to disturb u!!!!!!!!! I have two projects made in vc++ & vb.net of visual studio 2005 now i a third project in vb that integrates above two. I HAVE SEARCHED GOOGLE and result is negative
Last reply by snarfblam, -
-
-
- Administrators
- 1 reply
- 1.7k views
I dont know anything about .net and vb code is converted to vb.net!!! :-( this is code:: i made it as attachment as max limit of letters was exceeded any help appreciated.... :confused: upgrade issue.txt
Last reply by PlausiblyDamp, -
-
Who's Online 0 Members, 0 Anonymous, 24 Guests (See full list)
- There are no registered users currently online