|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Visual Basic .NETmicrosoft.public.dotnet.languages.vb
Ron -
5 May 2007 7:27 PM - 2 messages
I would like to write a small program to manipulate this XML: [link] What I want the program to do. it would look at all.xml documents in a directory for example ...
Kyote -
5 May 2007 4:47 PM - 7 messages
I'm using a DateTimePicker for date fields in an Access db Membership app. Some of the date fields are empty, meaning they haven't been filled out yet, or they cannot be. But when a record is read with ...
Jeff -
5 May 2007 1:50 PM - 2 messages
If I a column name for a datatable in vb.net 2005 and want to know whether the column is a char or int how would I ask? E.g., code starts like this. How do I obtain the type of column? ...
C.A. Amaya -
5 May 2007 12:07 PM - 2 messages
I would like a little help with a piece of code. I have an Acess DB table, I want to add a field. My problem is that after ading the field, the database is not updated. How do you add a field in an ...
D2 -
5 May 2007 10:06 AM - 3 messages
Hi All, I am trying to run the following query from OleDbCommand object but getting an exception. UPDATE [Files] SET FilePath = REPLACE(FilePath, 'd:\\', 'c:\\') Exception is: Undefined function 'REPLACE' in expression. Above query executes fine from within access but throws exception when ...
PitG -
5 May 2007 9:27 AM - 5 messages
Here the facts as code sample: Public Class Class1 Sub ABC(ByVal item As IUnit) End Sub End Class Public Interface IUnit ' or any other Interface ReadOnly Property Heureka() As Activator ...
kaczmar2 -
4 May 2007 9:45 PM - 5 messages
I have a custom web control that is called from an aspx page. The custom control dynamically renders out buttons via a public method (AddButton). One of the attributes of the method is a delegate, so on the button click event I can invoke a method at the calling page ...
vbDavidC -
4 May 2007 8:47 PM - 2 messages
I have just started programming with VisualBasic 2005. I am wondering if an app compiled with VB2005 will be significantly slower than a similar app created in VB6. The app is a simple tabbed form with 5 tabs, mostly textboxes, some comboboxes get populated from SQL ...
Newbie Coder -
4 May 2007 8:01 PM - 3 messages
Hi All It's rare for me to ask a question in this newsgroup VB.NET 2003 ONLY - FRAMEWORK 1.1 -------------------------------------------------- How do I check/uncheck an extended System Menu item & handle the Click Event? Imports System.Runtime.InteropServices ...
Robert Dufour -
4 May 2007 6:40 PM - 3 messages
I got a web application with loginstatus control, when the user clicks logout I would like to close the browser completely. How can I do this. Thanks for any help Bob ...
franzdawg3 -
4 May 2007 6:34 PM - 3 messages
I find it hard to believe that there is not a native solution to this problem built into VB.NET but based on what I've come up with from MSDN and google if there is one it is not obvious. ...
Earl -
4 May 2007 5:52 PM - 10 messages
I have somewhat of an interesting scenario: The form allows the user to select a service, which populates a a grid of product information related to that service ("service grid"). The user can then select from the products in the first grid and those choices populate ...
Bill Nguyen -
4 May 2007 5:44 PM - 2 messages
I would like to open for view only or editing different file types in VB.NEt. For example: PDF BMP JPEG GIF DOC etc... Can use file association in Windows OS or to detect necessary application based on file extension then invoke it. ...
Sid Price -
4 May 2007 4:11 PM - 3 messages
I have an application that has already been deployed and we need to add a new column to some of the tables in the application database. We are using an access database. We have a solution working that basically opens a ...
dan -
4 May 2007 1:47 PM - 5 messages
hi, in vb 6 when i build a dll i have the option to set the binary integrity so that when i make a change to hat library and binary integrity is changed, i receive a warning. is there a way to do it in a .NET class library? ...
Quentin -
4 May 2007 1:29 PM - 3 messages
I would like to create a serial port listener that starts recording data to a text file as soon as the port starts receiving the data. How do I trigger the program to start running when data is sent to ...
vighnesh -
4 May 2007 12:15 PM - 3 messages
Hi Folks Please let me know the difference between the following statements. Dim i as Integer Dim i as New Ineger As I tested both declares a variable 'i' of type integer intialized to value '0'. Please let me know the significance of 'New' keyword in the declaration. I ...
schapopa -
4 May 2007 11:55 AM - 2 messages
I am trying to call instance of the form from code. So I have forms frm1, frm2, frm3 I can open them: frm1.definstance.show, frm2.definstance.show... I want to create something like this: sub openform(formname) formname.definstance.show ...
Cylix -
4 May 2007 7:50 AM - 4 messages
I cannot find any website descript this function detailly, anyone can try to explain this for me? Thanks. ...
Cylix -
4 May 2007 2:46 AM - 7 messages
I wrote two application for my company, but I found that, if anyone of application is opened, the user cannot shutdown the computer. the behaviour is that: if one of application is opened, and then click the shutdown, my application will be terminate but the computer didn't shotdown. ...
Jim -
4 May 2007 12:07 AM - 4 messages
I have code that reads and parses a text file using a schema.ini file. Works great. When I see the dataGrid it's exactly what I want. Dim CString As String = _ ...
Yet Another One -
3 May 2007 11:00 PM - 10 messages
Sorry if this has been answered before, but I simply cannot find the solution on my own. I am looking to do a countdown in my application. Basically, I need to count down from 5:59 (5 minutes, 59 seconds) and then perform a task. ...
John -
3 May 2007 8:14 PM - 7 messages
Hi I am emailing a text file as attachment via the below code. The problem is that after the file has been emailed, it becomes locked and can not be accessed by further code such as IO.File.AppendAllText(FileName, Content) ...
Smokey Grindle -
3 May 2007 7:45 PM - 2 messages
I am trying to attach a file, mail it then open it in a stream after to do something else, but if you put the mail procedure first it locks the file and the lock isnt released... because the next procedure to open a stream ...
Amritha.Datta -
3 May 2007 6:23 PM - 2 messages
Where I may get help on Interop.FileTransferCtl.dll and its methods, properties descriptions Thanks ...
active -
3 May 2007 5:30 PM - 10 messages
I need a control that displays a grid of rectangles. That is, like a brick wall except the rectangles are lined up. In VB6 I used such a control (may have been called FlexGrid but I'm not sure.) I did see the DataGrid control but that seems oriented to DB usage. It's ...
Ken -
3 May 2007 4:42 PM - 3 messages
Is there any way to show current webpage in Label or textbox? for example, if the page address I browse currently is http://localhost/try/default.aspx then I want to show the information about current address in Label or Textbox on current page (in this case, the ...
John -
3 May 2007 4:08 PM - 5 messages
Hi Is there an easy or a built-in way to collect all properties of an object into a string variable for debugging purpose? I am looking for something similar to this; "Property1: Property1value Property2: Property2value Property3: Property3value ..... Propertyn: Propertynvalue" ...
John -
3 May 2007 4:01 PM - 7 messages
Hi I am creating a db connection using the below code. Is there a way to check if the connection is open? Thanks Regards = Code Below ==================== Dim LocalConn As OleDb.OleDbConnection Dim St As String = My.Settings.LocalDBConnectionString LocalConn = New OleDb.OleDbConnection(St) ...
John -
3 May 2007 3:55 PM - 5 messages
Hi I have a vb.net app that opens an access database runs several sql action queries on the tables and closes the db. This is done every few minutes. The problem is that sometimes I get an error 'ExecuteNonQuery requires an open ...
Mike Hofer -
3 May 2007 3:52 PM - 24 messages
I've been maintaining some source code, and I've noticed some radical inconsistency in the code, particularly in the way that parameters are validated. I've noticed that this seems to have been pretty much the case throughout my career. ...
Vagabond Software -
3 May 2007 3:18 PM - 7 messages
We're talking 2005 for both languages. Left, Top, Right, Bottom, Height, and Width are Integers. C# version: public override int GetHashCode() { ...
Freddy Coal -
3 May 2007 2:59 PM - 13 messages
Hi, I would like know how make the 'conversation' between VB.Net and Garmin USB GPS, someone know work that?. I have a etrex Vista Cx (USB cable connector), I would like make a program for get the current GPS position, but I don´t understand how send commands ...
PJ6 -
3 May 2007 2:53 PM - 3 messages
I just stumbled across an apparent generics limitation that I don't understand. In a generic class's type list, why can't the compiler be made aware of the types' contructors? Right now the compiler can only pay attention to the New declaration to get its contructor logic, and as such, ...
Andy Baker -
3 May 2007 11:08 AM - 3 messages
I have a VB.NET 2003 application that uses several datagrids. The behaviour I want from the datagrid is to select (highlight) the entire row when I click on any cell in a row. I have done this using code from syncfuson.com ...
John -
3 May 2007 10:30 AM - 4 messages
Hi I am picking up app version using Application.ProductVersion.ToString. The problem is it always comes up with 1.0.0.0. Is the version not supposed to change with successive builds? Thanks Regards ...
tc -
3 May 2007 10:15 AM - 3 messages
I have an app that I'm re-writing for MySql and MsSql, the old version connected to an Access database. It is more than likely that existing customers will want to upgrade to the later version. I don't want to rely ...
Connull -
3 May 2007 9:27 AM - 3 messages
I have recently installed VB.Net 2003 on my new PC. When I create a new windows application I can build the solution with no errors. I then add a setup project (I have tried both the Wizard and the Setup Project), I then ...
5070707 -
3 May 2007 9:23 AM - 6 messages
Hi all! I have a small form build with visual studio 2005 (Visual Basic) in that form i have some text boxes and some combos. these are being field by the users followed by an mail submit button i created using a snipet. ...
tc -
3 May 2007 9:17 AM - 2 messages
Hi. I have a customer who is running our .net application, multiple clients connecting to an Access database. This ONE customer reports a great speed degredation when more than one client is connected. First client logs on and the system runs correctly. ...
mpfohl -
3 May 2007 1:57 AM - 6 messages
I have an MS access database. I have a button the user clicks to export the 8 tables into csv files for them to then easily email to me. Right now, the user must attach all 8 csv files to email to me. Is ...
LLcoolQ -
2 May 2007 8:59 PM - 8 messages
I am writing an interface file to a vendor. The requirements say: Format of the text: Text must be in the format as you would like it to appear without embedded newline characters. Instead of newline characters, use ASCII character 0x02. A blank like would be ...
mojeza -
2 May 2007 8:51 PM - 5 messages
I would like to create generic object which will be used for store of single row of DataTable. Lets say I create class as follow: Public Class Participant Public ParticipantID As Int64 Public LastName As String Public FirstName As String ...
Marcolino -
2 May 2007 3:18 PM - 8 messages
Hi all, I need to add a custom button to title bar on a form in addition of a standard button. (Minimize/Maximize, close etc.) I need also to handle OnClick event of this button. I looked around google but i'm not able to find any example that can help me. ...
Nach -
2 May 2007 3:05 PM - 4 messages
Would like to see the Generated code in visual studio 2005 as I did in 2003 Example #Region #End Region Under Public Class form1 I would like to see Inherits system.windows.forms.form Which I don't see currently ...
Ken -
2 May 2007 2:43 PM - 3 messages
Is there a way if a string contain upper cas letter? Is there a way if a string contain Numbers? Is there a way if a string contain (Puntuation/Symbols) such as ~,!,#,$....? Thanks ...
Yet Another One -
2 May 2007 2:38 PM - 2 messages
Hi everyone. Sorry if this is the wrong group for this question, but since it is .NET and VB, I thought someone may be able to help me here or point me to the right group for this. I am working on an application which needs to check if a certain VALUE ...
causesdrowsiness -
2 May 2007 2:31 PM - 3 messages
Hi everyone. Sorry if this is the wrong group for this question, but since it is .NET and VB, I thought someone may be able to help me here or point me to the right group for this. I am working on an application which needs to check if a certain VALUE ...
billsahiker -
2 May 2007 2:27 PM - 5 messages
Can I send faxes using fxscomex.dll without being on a network? Examples I have seen are like: objFaxServer.Connect("LAB1-STU15"), which appears to be the name of a network fax server. If it requires a network, does XP Pro have anything else I could use? ...
spowel4 -
2 May 2007 2:17 PM - 3 messages
Here's my code thus far: Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load Dim objxmldoc As New Xml.XmlDataDocument() 'Load all customer numbers ...
hooksie2 -
2 May 2007 2:15 PM - 5 messages
Hi, I am trying to use FileSystemWatcher to watch a log file which is written to via a 3rd party app and display the log in listbox on a form. The FileSystemWatch seems to work okay but I get the following ...
5070707 -
2 May 2007 12:32 PM - 4 messages
Hi all! I have a small form created with VS2005 (Visual Basic) on that form i have 5 text boxes and 4 combo boxes. (the 4 combo boxes are data bind to an sql 2000 DB) i'v created a button and used an onclick snippet for sending email. ...
joel_dizon -
2 May 2007 11:39 AM - 6 messages
Hi, I have an application to be run as Local System Account, it suppose to show a msgbox to the user but it doesnt show anything. I know that app run as system is not visible but is there any other ...
Diego F. -
2 May 2007 11:18 AM - 11 messages
Hi all. I have an application that receives a message from a socket in an array from a certain size. As the array size may be longer that the message received, the end of the array has blank characters. I use the System.Text.Encoding.ASCII.GetString method to convert to string ...
Dean Richardson -
2 May 2007 10:42 AM - 2 messages
Hello, I have a large number of forms which contain an equally large number of textboxes within (All textboxes have a prefix of txt before their name). Is there a way that I can have the Help.ShowPopup to display ...
5070707 -
2 May 2007 7:34 AM - 3 messages
Hi all! Well, here is somewhat a newbie question that im sure a lot of people will know how to answer! i have a simple form in a windows application i created using VS2005. (visual basic) in that form i created two check boxes. ...
slinky -
2 May 2007 3:48 AM - 2 messages
I have a practice website (I'm a newbie) that I want to use the Northwind SQL Server sample database in. First, do I upload the database into my App_Data folder of my website? Also I have a textbook .aspx I'm doing a lab on with the following code (what I'm ...
William Cruz -
2 May 2007 2:35 AM - 2 messages
Can anyone help me with this piece of code. - I keep on getting the error message "The object exporter specified was not found" If i change it to run on my local machine it works fine, the problem occurs when trying to connect to a remote pc. ...
Peter -
2 May 2007 12:45 AM - 6 messages
I need to learn vb.net but I have no VB experience. I believe I understand OOP. Which books/webcats/virtual labs/websites should I check out? ...
Rick -
2 May 2007 12:37 AM - 3 messages
VS 2005 & Firebird DB 1.5 I have a query for Customer orders that has several inner joins to show things like Terms name (from termsnum) and Sales Rep name (from repnum) etc. I have written the custom SQL insert statement and this works with no ...
Jim -
1 May 2007 8:25 PM - 2 messages
I'm a newbie to vb .net. I've got a couple of test programs to read and write text files and one to read and display Access data. I need to be able to read the text file, massage the data and write it ...
Bill Nguyen -
1 May 2007 7:21 PM - 3 messages
I need to parse this flat file programmatically. A group starts with S record and may contain B C P records T record is for checksum. What's the best method to do this. Please give me some sample codes to go ...
Michel Vanderbeke -
1 May 2007 6:21 PM - 3 messages
Hello, Is it possible to right-align the text in the list and / or the textbox of a combobox? Can it be done through properties or through code? Many thanks, Michel ...
Patrick Dugan -
1 May 2007 4:20 PM - 4 messages
I am using VS2005 (vb) and I have a program that starts when Windows boots up. Occasionally the icon that should appear in the system tray does not show up. The program is still running in memory but the tray icon is not ...
Jerry Spence1 -
1 May 2007 3:39 PM - 2 messages
I am trying to launch a web page as follows: Dim psInfo As New System.Diagnostics.ProcessStartInfo("[link]") psInfo.WindowStyle = System.Diagnostics.ProcessWindowStyle.Maximized Dim myProcess As Process = System.Diagnostics.Process.Start(psInfo) The IP Address is actually an IP camera. ...
VB Jonnie -
1 May 2007 12:26 PM - 5 messages
I am at my witless end here, please help! I have an ASP.Net aspx web page, hosted on Windows Server 2003, that receives a query string with the path to an autocad drawing file selected from a web page hosted on a unix driven file server. The user wants to have ...
PJ6 -
1 May 2007 12:23 PM - 8 messages
Is it possible for a regular expression to macth only an empty string? What I want is exactly {0}, but that causes the parser to throw an exception - parsing "{0}" - Quantifier {x,y} following nothing. Duh, I want nothing. Maybe I need an expression that evaluates to "not ...
Alex -
1 May 2007 5:10 AM - 4 messages
I've got a procedure designed to modify the contents of a single row in a data table. The code appears to work fine in that it compiles and executes without error and the changes are reflected in the ...
Peter -
1 May 2007 4:26 AM - 5 messages
Hi, I remember in VB6 that one could simply draw a line in a picturebox using the .Line method. There is no equivalent in .NET; everything I read says it is necessary to do lots of heavily complicated things to get it to happen. ...
Harry Strybos -
1 May 2007 2:46 AM - 6 messages
I am confused about which is the better (or safer ) way to write files in VB.Net. Using sw As StreamWriter = New StreamWriter(fName) For Each row As DataRow In ds.Tables(0).Rows For i As Integer = 0 To (ds.Tables(0).Columns.Count - 1) ...
Darin -
1 May 2007 1:17 AM - 2 messages
I have a share setup on the server that is actually c:\data\share. So the client sees i:\, but on the server that is actually c:\data\share. Is there a way, from the client, to know exactly what the share is from ...
Hetal -
30 Apr 2007 9:16 PM - 4 messages
Hi.. I am working on VB.NET (windows forms) and i am using ADO.NET to deal with databases. I have 2 databases say dbA (on Server1) and dbB (on Server2). I am reading data from dbA and writing it on dbB. After i am ...
ahmad -
30 Apr 2007 8:15 PM - 2 messages
1) If you are looking for the truth to soothe and please your self, just click on this link. 2) If you are looking for the secrt of the family happiness, just click on this link 3 ) If you are looking for solving any social problem you face, just ...
guido -
30 Apr 2007 7:34 PM - 2 messages
I'm using aspose.words ([link]) to extract regular expression matches from multiple files within a folder. Unfortunately, aspose.words does not support pre-Word 97 documents. How can i retrieve the Word version of the .doc file, so i can avoid errors? ...
corey.hutchinson -
30 Apr 2007 7:02 PM - 4 messages
I have an application that when I run it in VS 2005 debug mode it operates faster (10 fold) than when I execute the exe directly from the bin directory. The one operation in particular in which the performance differs so greatly is when the app makes a call to another ...
Tony Wissler -
30 Apr 2007 5:54 PM - 6 messages
Hello everyone- I am hoping a couple of you will have some ideas on this one... I have a webform created in visual basic 2005. Basically, the webform gather answers to the questions asked on the form and included a couple free type multine textboxes. ...
Flomo Togba Kwele -
30 Apr 2007 5:17 PM - 10 messages
I have a class which processes for a relatively long time. I want to enable other classes which call this one to receive process messages if they wish. The called routine (the one defining the delegate) is named CASSPrintSQL in ...
Terry Olsen -
30 Apr 2007 1:41 PM - 18 messages
Given that variable dt = "3/31/2007", why does it produce the following exception on some machines? It works fine on my PC, but others have sent me this exception information because it threw up on their PC. DLDT.Columns("Date").DataType = GetType(Date) ...
Joh -
30 Apr 2007 9:05 AM - 2 messages
I'm developing a dll with VB.NET and Visual Studio 2005 to be used as a plugin in Skype. I'm supposed to make my dll export the entry point of a procedure called DllInitSkypePluginB. Anyone now how to export an ...
Carol -
30 Apr 2007 8:43 AM - 3 messages
I'm fairly new at this and trying to create a dynamic menu. I use the function getMANames to put all the submenu item names into an array. I am confident this sub is working properly. When I look in debug mode the object insertJobMenu is reporting the ...
active -
30 Apr 2007 8:31 AM - 8 messages
In control panel/Display/Appearance/Effects if : 'Use the following method to smooth edges of screen fonts' is checked and ClearType is selected in the combobox (no problem if Standard is selected) I get a crazy font display in parts of my picturebox. ...
roblowein -
30 Apr 2007 6:20 AM - 4 messages
Hello, I am writing some VB express code to collect data for a gas safety certificate. Data that needs to be collected include name and address, plus Boiler Perfomace and safety information. And the end of this data collection I need to print out a certificate that looks a little ...
Don W -
30 Apr 2007 5:48 AM - 2 messages
The application is hidden and at times it must show a form that should appear at the top of all other windows and its text box should have the focus no matter where the focus was prior to the window becoming visible. Once the ...
Martinez -
29 Apr 2007 8:15 PM - 6 messages
Hello I try declare Dim db as New BtDatabase() and execute metod db.open(par1,par2,par3) but i get error : System.NullReferenceException was unhandled Message="Object reference not set to an instance of an object." Source="Microsoft.VisualBasic" ...
John -
29 Apr 2007 2:51 PM - 5 messages
Hi I am publishing a vb.net app to a remote ftp/web site. This seems to go successfully. Once I try to install the app by using the url [link] and pressing the Run button, I get the ...
John -
29 Apr 2007 2:38 PM - 4 messages
Hi Is there a way to run a sub in a separate synchronous or asynchronous process? One of the reason I would like to do that is I do not want this process to effect the main app and also to cleanup the process resources ...
Darin -
29 Apr 2007 2:02 PM - 21 messages
Since there is no 64-bit Jet (MS Access) OLEDB driver, what is the recommended solution for this delimma. Our application uses SQL Server as the daatabase engine, but we have about 5 meg of static data stored in an Access database. We chose that ...
|
|||||||||||||||||||||||