Answer Questions
Mike Martin24365 Links
hi everyone, can i link to asp.net page from a vb.net program for an instance, i click on a button in a vb.net form and it will link and open up internet explorer (an asp.net page). ok..thanks a lot for helping how to check whether the URL runs on IIS web server or not Sure, put this in the button click event Process.Start( "http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=388338&SiteID=1" ) ...Show All
A Noble error in BTRCALL call
hello, I am new in BTRCALL handling. when i used BTRCALL in my project it fire error runtime error 49 : "Bad DLL calling convention". why this error occurr I am posting code. please help me to resolve this problem. or any one tell me how to use BTRCALL ( pervasive database ) in VB 6.0. dim dummy as long STAT = BTRCALL(BRESET, dummy, dummy, 0, dummy, 0, 0) where it also f ...Show All
pdclose OleDbDataAdapter does not update
Hi, I am having a a problem geting a data adapter to update a recordset. This is the steps. I added a connection and an data adapter to a form. The data source is a Access table. The table has 8 columns. I selected 2 of them and added a criteria to limit the number of rows selected. I then generate a dataset. In my code I call the .Fill method to populate the dataset. I iterate through ...Show All
Niaz Cannot Add a Form/Class/Module in VS2005 Beta2
I've installed both VS2003 & VS2005 Beta2. Today, I found I cannot add a new form/class/module to my VB Windows Application in VS 2005 Beta2 cause these are not listed in "installed templates". Now I'm trying to reinstall all VS 2005 Beta2. Sounds like a bug, submit a bug report on the Microsoft Product Feedback Center . ...Show All
praveen gupta Addind new lines of code from the form
Hi, I want to be able to include information from two text boxes into the coding of the program. I would like to be able to have two text boxes which the user can enter information about, for example in the first text box, 1 in the second text box, 4 and what i want to be able to do is add this information to a Select Case statement, so a new line of code will be added so it reads, Select Case "---" Case "1"   ...Show All
tgee3 Clear the data in all the Controls in a single Form
Hai, I am new to Vb.net.My Problem is when i click the Button the datas in all the Controls should be cleared for new Entry. Not like this way: combo1.text="" i want to send a form as a argument to as function like cleardata(me) Public Sub Cleardata(byval frm as windows.forms.form) dim newControl as frm.ControlCollection for each newcontrol in Frm TextBox: Newcontrol.text="" Combo: NewControl.te ...Show All
Lequeta Printing 2 pages
Hello, I come again to see knowledge from the VB.Net oracles. I have written an app that has a tab control with 2 tabs. on tab 1 there is a panel which the user draws on and on tab 2 has a textbox for notes. Now I can get the panel to print and it looks great. now I want to print the panel on one page and the textbox on another. I have tried using the hasmorepages, but it will redraw the panel with the text from the textbox over it. An ...Show All
darentan html form to xml document
I am lost, I have been trying to figure out how to add a regular old html form to generate data onto a page saved into an xml document then transformed it through a xslt to generate a news page. I read an article on how "easy it was" to do however I know nothing about an XML DOM creation which seems to be like a brick wall to my progress. In the process I've managed to @#$ up my Default.aspx so it is not recognizing or loca ...Show All
Gizmoguy VB .NET 2005 Express Beta 2
After installing the new BETA 2, I get the following error anytime I try to open a form from a project created with BETA 1: "Could not load type 'Microsoft.VisualStudio.Shell.Interop.IVsRunningDocumentTable2' from Assembly 'Microsoft.VisualStudio.Shell.Interop.8.0, Version 8.0.0.0, Culture=Neutral, PublicKeyToken= b03f5f7f11d50a3a'. I have tried repairing and reinstalling but can't seem to clear this up. Any suggestions ...Show All
bosox Get information from database
Hello I was using Visual Basic 6 and when I want to get information from a database, I write: Dim Con As New ADODB.Connection Dim rst As New ADODB.Recordset Set Con = New ADODB.Connection Set rst = New ADODB.Recordset Con.Open "Provider=MSDataShape.1;Extended Properties='Jet OLEDB:Database Password=111';Persist Security Info=False;Data Source=D:\Programs.mdb;Data Provider=MICROSOFT.JET.OLEDB.4.0" rst.ActiveConnection = C ...Show All
donjek How do I use Excel from VB2005?
I am currently attempting to port data from my VB2005 application into Excel but am unable to attain a connection from my program to Excel... I added the COM references "Microsoft Office 11.0 Object Library" and "Microsoft Excel 11.0 Object Library" and have declared the following under "Public Class frmMain" (for my program's main form): Dim Excel As New Microsoft.Office.Interop.Excel.Application I have tried declaring other namespaces ...Show All
KestralMike control name from sender object in event handler
I have several runtime controls that send their mouseclick events to the same subroutine via the AddHandler. I need to get the name of the control that raised the event. How do I interrogate the sender object to determine the name example code: addHandler SomeControl_1, AddressOf SomeControl_MouseClick addHandler SomeControl_2, AddressOf SomeControl_MouseClick addHandler SomeControl_3, AddressOf SomeControl_MouseClick P ...Show All
MasonUSA Calling a click event
In VB6 it was easy to call a controls click event ie (call textbox1_click). this however does not seem to work in Vb.Net 2005, any ideas Cheers Kev You can also call the sub that handles the event. Public sub Main() Button1_Click( nothing , nothing ) End sub Public sub Button1_Click( ByVal sender as Object , ByVal e as EventArgs) Handles Button1.Click End Sub Dustin Cheers Justin t ...Show All
Shanmuk Date Sorting issues in DataGridView Column
Hi, I am converting a VB6 program to .Net/VB2005 as a learning experience. I'm testing the DataGridView control to display my data and have some difficulties. My data is in a single disk file with user-defined-data-type fixed length records. The first column in my DataGridView displays a transaction date. All the DataGridView columns are textbox columns. The dates load and display correctly but if I click the column header and use the built in ...Show All
teleweb KEYBD_EVENT problems
I'm writing a VB.NET 2003 app to do test automation of another application. The secondary application runs Java in a web browser, and is keyboard driven. Automated Mouse events work fine, as does polling information using GetPixel. The problem is, I cannot get my automation program to send keystrokes using KEYBD_EVENTS. I even tried redirecting target focus into a blank Notepad, with no results there either. The applicable snippets of c ...Show All
