|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Visual Basic .NETmicrosoft.public.dotnet.languages.vb
Mark -
8 Jul 2006 9:35 PM - 3 messages
I just discovered that the Application object is not available in the Windows service application. Is there any way to access properties such as StartupPath in Windows service application? Thanks in advance. Majid ...
Terry -
8 Jul 2006 8:13 PM - 3 messages
I am building a number of 'base' forms which will be inherited in my application. I would like to change the default scope from Friend to 'Protected Friend'. Is there a way to do this, or will I just have to edit ...
mr_doles -
8 Jul 2006 7:14 PM - 3 messages
I am writing a Database application using Visual Studio 2005 and SQL Server Express 2005. I am trying to create a back up and year end back up plan within the program. The folder structure I want is as follows: ...
Bob -
8 Jul 2006 6:01 PM - 2 messages
Can' seem to find any info on the subject, a push in the rigt direction would be aaapreciated, I want to make a tool that I can use when making Winform apps to access and modify some control properties on a form. Ifind ...
eSolTec, Inc. 501(c)(3) -
8 Jul 2006 4:55 PM - 11 messages
Thank you in advance for any and all assistance. I'm building a technician's tool and I'm trying to create a Jump Panel of buttons to the Windows System32 folder to open files programmatically. I have the majority of the program ...
pcnerd -
8 Jul 2006 4:01 PM - 11 messages
I've created a demo program that draws random lines on the form. At the end, a messagebox pops up with the words"I'm done!". When I click on "OK", the messagebox disappears, but a white square is left in its place. I can still ...
Tiago Salgado -
8 Jul 2006 3:05 PM - 3 messages
I everyone... i'm having some problems when i'm trying to change a item = = fontstyle in a listview (details view). Code: frmMain.FeedsList.Items(CInt(id1)).Font.Style =3D FontStyle.Regular The problem is the property FontStyle is read-only. Can anyone help me = ...
yxq -
8 Jul 2006 11:35 AM - 3 messages
Hello, I want to download all the files from my server using the code below, but the *.ini and *.dat type files can not be dowloaded, other type files can be downloaded, why? Private myWebClient As New System.Net.WebClient ...
Pedro -
8 Jul 2006 8:36 AM - 3 messages
Hi there I downloaded and am using VB Express. One thing that i dont know why this happends is that when im in design mode, the UI appear XP style but when i run the application, the controls render as classic windows controls. ...
mike7411 -
7 Jul 2006 11:22 PM - 2 messages
Is there any tool like doxygen that works for Visual Basic? Thanks. ...
Roberto Hernández -
7 Jul 2006 11:21 PM - 4 messages
I try to use the Windows Image Acquisition (WIA) with a sample in vb.net but it takes only back photos and also at low resolution. How can I put ther resolution at 640x480? I have a Labtec webcam plus that works fine with other software. ...
Samuel Shulman -
7 Jul 2006 10:30 PM - 16 messages
I would like to implement Date Sort in DataGridView control Any clue? Samuel ...
Ratnesh Raval -
7 Jul 2006 8:35 PM - 2 messages
hi all, i've a tray app. that runs in a tray with no forms. when a user clicks on the trayicon i show main form. my question is, can i make it like the messenger applications.. so if user ...
hharry -
7 Jul 2006 7:18 PM - 3 messages
hello all, when using .net remoting, is there a way to preserve objects in memory ? example scenario: zipcode/state lookup - for a given zipcode, return the state. i have a class library which contains one class with two functions - load a hashtable of zip to state values ...
martin1 -
7 Jul 2006 6:49 PM - 13 messages
All, is there window form refresh property? I try to set up window form refresh per minute. Thanks ...
vighnesh -
7 Jul 2006 4:51 PM - 3 messages
Hi All Can Anybody Please help me in how to Empty a Recycle bin using VB.NET code ? Regards Vighneswar ...
Brian Tkatch -
7 Jul 2006 4:39 PM - 4 messages
I have a form with two DataGrids, which are kept in sync manually via Stored PROCEDURE calls. That is, when a record is selected on the first grid, a stored PROCEDURE is CALLed to Fill() the next second DataGrid's ...
neeraj -
7 Jul 2006 4:35 PM - 4 messages
Hi Every body I m not able to get dataset or datatable from datagrid. Now I m trying this code but this is always returns nothing. Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click ...
Dustin Davis -
7 Jul 2006 4:29 PM - 3 messages
I'm trying to add a new row to my database using the BindingSource. I assume it is possible... Below is my code snippet: Dim drvZone As DataRowView Try drvZone = Me.ZonesBindingSource.AddNew() drvZone.Row.Item(1) = ProcessID ...
Rich -
7 Jul 2006 4:14 PM - 3 messages
Hello, I need to trap/detect when a textbox is entered via the tabkey. If the textbox is not empty when entered via the tabkey then set focus to next textbox. To enter that textbox would then require a mouseclick if it already ...
DCaballero -
7 Jul 2006 3:22 PM - 6 messages
Hi, I've seen on some applications like emule, options on limiting the amount of outgoing and incoming bandwith the application uses. How can I incorporate this into my application? Is this done with the .NET network classes, or do I have to go to C++ ...
Tull Clancey -
7 Jul 2006 2:58 PM - 3 messages
Hi all. Having spent some time trying to get .net 2003 to send emails I'm now struggling with the 2005 version of smpt. Microsoft seem to have changed their view on the smtp side of things, before they gave a single error message for absolutely everything, now I'm getting ...
BrianDH -
7 Jul 2006 2:52 PM - 4 messages
Hi Is there a way to have the view/display width different from the width as it sits on the form? ...
Danny M -
7 Jul 2006 1:59 PM - 2 messages
I want to fill a datagridview with a tabel, only problem is one of the fields of this tabel is an ID to another tabel with the name.. I want to also show the name in the grid (they cant edit this field) ...
Jerry -
7 Jul 2006 1:52 PM - 6 messages
I'm developing an application that has an initial login form. It uses a user class that checks for a valid user. If the user is valid, it populates public variables in the class, hides the login form and shows ...
Ros -
7 Jul 2006 1:41 PM - 3 messages
Peeps, I'm able to generate the links... but i would like to put each link on a line after line. this is in the default.aspx.vb Dim lnk As New HyperLink .... panel.controls.add(lnk) ...
Sugan -
7 Jul 2006 12:57 PM - 5 messages
Hi, i came across custom usercontrols in VB 2005 and i'm not clear about the difference between "Me" and "MyBase". 1. What is the difference between the two keywords in a UserControl. 2. Even if they are different, is there any harm in using it ...
Jerry Spence1 -
7 Jul 2006 10:19 AM - 3 messages
I have a form with a number of controls which lie on top of each other. I had a feeling there was a control property which would allow its events to be passed through to the parent (so that I don't have to duplicate events). ...
reidarT -
7 Jul 2006 9:11 AM - 2 messages
I have changed from an access db to sql express and use an insert statement to add data from a datetime picker to the datetime field in the db. Earlier I had to do some manipulation like "#" & Mid(dteDato,1,2)... to get ...
teddysnips -
7 Jul 2006 8:41 AM - 2 messages
WINDOWS APPLICATION I have to port a Web application to a Windows application. I've no experience of Windows apps in .NET, though I've been doing Web apps in ASP.NET since it came out. I have a normal System.Windows.Forms.DataGrid. I wish to display an ...
Sezgin -
7 Jul 2006 8:39 AM - 3 messages
Hi Everyone, How can I close Serial Port opened by another program. Regards. ...
"Gunnar Syren" <> -
7 Jul 2006 8:35 AM - 4 messages
I'm trying to implement a macro feature in my application by recording and playing back keystrokes. At first I thought it would be enough to catch KeyDown in my main form, but I soon realized that I needed to ...
m - team1 via DotNetMonster.com -
7 Jul 2006 7:23 AM - 5 messages
hi everyone ive written a huge unwieldy program for my company's annual maintenance contract tracking! :) ok, my dataset has two relations : one table is called AMC and is linked to AMC1. AMC1 in turn, is the parent table of AMC2. my ...
reidarT -
7 Jul 2006 7:22 AM - 2 messages
How can I open a form from another form with textfields containing data from the first form. Like openargs in Access reidarT ...
Cylix -
7 Jul 2006 6:30 AM - 2 messages
I use this control on my application, What event should I trigger to know the status of brower is loading or not? ...
Cylix -
7 Jul 2006 4:48 AM - 6 messages
I have created an VB.Net application, but I found the startup speed is really slow. Once I start the application and I close it and re-open, The speed is much faster, I know that this is common on all ...
Ronald S. Cook -
7 Jul 2006 3:37 AM - 3 messages
I have a VB.NET Win app wherein I would like to (via code) open another application window external to my app's window and set the position and size on the user's screen. I would greatly appreciate any response/help. ...
Sarah -
7 Jul 2006 2:52 AM - 5 messages
Hi - I am extremely new to programming so I apologize in advance for my lack of knowlege, vocabulary and if my code is sloppy. I will take any suggestions to clean up my code and to follow any best pratices that I ...
pcnerd -
7 Jul 2006 1:53 AM - 4 messages
I want to be able to create 2 custom coordinate systems. In one, I want the origin to be at the center of the form so that there will be 4 quadrants. In another, I want the origin to be at the left edge of the form halfway between ...
pcnerd -
7 Jul 2006 1:47 AM - 11 messages
I'm a VB.NET newbie. I've created a program that plots pixels at random on the form. I have a 19" LCD monitor with a resolution set to 1280 by 1024. If you do the math, that means that there are over 1.3 million pixels. In one ...
Steven Smith -
7 Jul 2006 1:27 AM - 4 messages
Hi everyone, This code makes sense to me, but when I run it, it says "Loop Without Do". Any Suggestions? Thanks, Steven Smith Dim FirstPaymentDate As Date Dim CurrRowValue As Single Dim NumStudentsInFlex2 As Single NumStudentsInFlex2 = MSHFlexGrid2.Rows CurrRowVal = 1 ...
Ufit -
6 Jul 2006 9:59 PM - 2 messages
A quicky one - how do I simply resize, basicaly to smaller size, an image and then save it as .jpeg or .bmp file ? Thank you. Ufit ...
martin1 -
6 Jul 2006 8:54 PM - 2 messages
Hi, All, is anybody know how to run window app per minute? how to set up that procedure? Thanks, ...
xavendano -
6 Jul 2006 8:05 PM - 3 messages
Hi, I have a tool made in vb.net that generate code.....class files o mod files. If this tool is an Add-in, how can I insert this new files into a current project using code...???? Thanks...... ...
Blarneystone -
6 Jul 2006 6:02 PM - 4 messages
Hi, I am wanting to code a way to drag a form around the screen - but can't remember how to do this in vb.net. Can someone please post a code snippet? Thanks ...
pamelafluente -
6 Jul 2006 5:34 PM - 2 messages
Hi, Assume that I have a web application. I want to be able to use the classes that are in another project (say a Win application) on which I am working at the same time. Is it possible to "include as link" the files ...
Joe J. -
6 Jul 2006 4:25 PM - 2 messages
Hi everyone, I need a little bit of help with this problem. I've got a time durations feed, which comes in this format (minutes:seconds): Example, there is only 5 values: 00:45 01:15 00:12 00:53 ...
G .Net -
6 Jul 2006 3:33 PM - 6 messages
Hi I was wondering if there is a way to do the following? If I have a For Each loop, is there a way "jump out" of the current item so the next item is processed? For example, I can do it this way ...
Anne DeBlois -
6 Jul 2006 12:26 PM - 3 messages
Hi, In VB 2005, I need to get the printer's left most and top most margin that a selected printer can prit to on a piece of paper, so I can adjust the PrintDocument classes to get as uniform as possible a printout no matter ...
mabond -
6 Jul 2006 12:19 PM - 6 messages
Hi Can't believe I've not been able to find the answer to this in the on-line help. I have a CheckedListBox which, via a timer control, is populated with the names of files in a network folder. The "check mark" for each item in the ...
Aristotelis Pitaridis -
6 Jul 2006 10:16 AM - 2 messages
Does anyone knows how to set an icon for a control that I created? Aristotelis ...
Neil -
6 Jul 2006 9:34 AM - 5 messages
Hi, I am having problems in trying to create a scheduled task from within in application that carries out a health check on a client. I am using VS 2005. When the program runs it flashes a command prompt but does nothing. ...
Jack Russell -
6 Jul 2006 7:57 AM - 15 messages
Is there a simple function to test if a string is a valid file name (i.e does not contain illegal characters etc) other than doing it the long way? Thanks Jack Russell ...
mike w. -
6 Jul 2006 3:04 AM - 7 messages
I'm trying to get a char when a user right cliks in a RichTextBox, but I keep geting "An unhandled exception of type 'System.NullReferenceException' occurred in system.windows.forms.dll Additional information: Object reference not set to an instance of an ...
Liverpool fan -
6 Jul 2006 1:29 AM - 4 messages
Hi all and thanks to those who respond to this. I have a data maintenance form which I am using to update data in my database. In the update routine I use the following code; ssql = "UPDATE Email_Usage SET [date] = @Date," & _ ...
Ryan -
5 Jul 2006 9:00 PM - 6 messages
A binding navigator control adds the following code for when the Save button is clicked: Me.Validate() Me.UserBindingSource.EndEdit() Me.UserTableAdapter.Update(Me.UserDataSet.User)" You can add code to the column changing event for the dataset by using the dataset designer, for example: ...
Ratnesh Raval -
5 Jul 2006 8:58 PM - 18 messages
hi all, i m having some problem in timer control. sub timer.tick() timer.stop() do...something timer.enabled = true end sub this works fine. but after timer.stop() when i try to enable it from some ...
fiaolle -
5 Jul 2006 8:56 PM - 2 messages
Hi I Can't get the MSDN's example for Listbox to work.The example is below. I get an error in Listbox's sub ListBox1_SelectedValueChanged at row textBox1.Text = ListBox1.SelectedValue and it happens after the line ListBox1.ValueMember = "ShortName" is run. The error says Cast from type ...
Simon Verona -
5 Jul 2006 8:52 PM - 5 messages
I don't know if I'm missing something... but.. is it possible to databind a text box to a read/write property of an object at design time? I see lots of examples to binding to a dataadapter etc, but if I have a ...
AnalogKid17 -
5 Jul 2006 7:14 PM - 3 messages
Keywords: ASP.NET app with VS2005 running on Win2003 with IIS6, and SQL2000 on a WinXP Box I've betting the following for days... it's driving me insane: Server Error in '/' Application. Security Exception Description: The application attempted to perform an operation not ...
Ufit -
5 Jul 2006 6:20 PM - 4 messages
Simple,dumm question - how to include quotation marks in the string? F.ex. "Data Source=.\SQLEXPRESS;AttachDbFilename="C:\client data.mdf";Integrated Security=True;User Instance=True" I get syntax error. Thanks for help Ufi ...
darjonase -
5 Jul 2006 6:18 PM - 2 messages
I am trying to call a Stored Prodecure in my code, and I keep getting the same error... system.data.sqlclient.sqlexception: incorrect syntax near the keyword 'Procedure' I have added my stored procedure as a .sql file and have verified that ...
G .Net -
5 Jul 2006 4:25 PM - 5 messages
Hi I have a DataSet with several DataTables. I have set up relations between these tables. I want to delete all the tables and re-fill them. However, when I try to do so, even after using Relations.Clear() I still get excecptions, such as: ...
almurph@altavista.com -
5 Jul 2006 4:22 PM - 3 messages
Hi, Hope you can help me. This is a trick one - at least I think so. I have 2 strings. I have to calculate the "score" of the strings. Score is determined by matching patterns of letters within the strings. ...
Rich -
5 Jul 2006 3:58 PM - 6 messages
Hello, I have a search application to search data in tables in a database (3 sql server tables). I populate 2 comboboxes with with data from each table. One combobox will contain unique CompanyID's. The second combobox will contain ...
Ryan -
5 Jul 2006 3:15 PM - 8 messages
OK, here's my setup. I have a treeview control that is populated with records from a Product table, and it allows "checking". This is used for my automatic notification system. Say a particular Product is sold, any users ...
Oh-its-all-gone-wrong -
5 Jul 2006 3:09 PM - 6 messages
Hi All, Hope everybody is well? I hope you all don`t mind a newbie asking a rather daft question but here goes. Im using Visual Basic 2005, i`ll try and explain best I can: I have a form, on the form is various items. I have a Datagrid which is ...
Rippo -
5 Jul 2006 3:08 PM - 5 messages
Hi I have the following console application and am attempting to late bind a class with option strict on! However of course I cant and I get the following error "Option Strict On disallows late binding" at the line BL.a() in method Main ...
Peter Lux -
5 Jul 2006 3:05 PM - 2 messages
I have coded a nice query tool the shows a listview of tables and columns then has a text box that I can launch an ad hoc query. I have a strange problem though. Sometimes when I launch the app from the desktop, the window ...
cj -
5 Jul 2006 2:53 PM - 19 messages
members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe. I'm under the impression before you can use a class you have to make an instance of it. So how can a class be threadsafe by itself but an ...
Screaming Eagles 101 -
5 Jul 2006 2:39 PM - 3 messages
Hi, I found out that the Windows Generated Code is now in a new file myform.designer.vb , Through Add File I couldn't add the code to the project to see it, I had to go through Explorer and double click it. ...
brother52 -
5 Jul 2006 2:07 PM - 12 messages
I am using My.Computer.FileSystem.CopyFile() to copy a bunch of files from one directoy to another, and would like to display a progress bar on the screen for each file being copied. Is this possible? ...
mabond -
5 Jul 2006 2:07 PM - 5 messages
Hi I want to know how many files exist in a folder. I will use the number of files to set the size of a string array which will contain the names of the files. The array part I've done but need to know how to work out the number ...
Elton -
5 Jul 2006 1:55 PM - 5 messages
Dear All, I am new to vb , please help. I have a picture , and a picture_click( ) function. What I want to do is to have a simulate a click event onto the picture in a loop. However, when I write: ...
IdleBrain -
5 Jul 2006 1:20 PM - 3 messages
Hello all: I am running a windows desktop application developed in VB.NET. I have a stop button in the application which would stop the current running process by raising an exception. Everything works fine except that the application closes as soon as the the event handler subroutine ...
giannik -
5 Jul 2006 12:44 PM - 7 messages
I have an Enum Structure Public Enum MyEnum EnumVal1=0 EnumVal2=1 EnumVal2=2 end enum I save in an access database this enum value as an integer (0=EnumVal1, ...
Bert -
5 Jul 2006 12:41 PM - 7 messages
Hi, I need to identify an object from its name, something like this: Class User dim Username as string property Name() as string get Return Username ...
reidarT -
5 Jul 2006 12:09 PM - 2 messages
In a datagrid there is a record selector on he left side of the grid. There is a way to set the size (width) of this 'button'? reidarT ...
tommaso.gastaldi -
5 Jul 2006 12:06 PM - 4 messages
Hi friend, I am playing with Listeners. When one define a new TcpListener and starts listening it may happen that there is some other program using that channel. For instance, on my pc DB2 is using port 50000. Const Port As Integer = 50000 ...
lenapostantzi -
5 Jul 2006 8:51 AM - 2 messages
Hi all, I'm trying to write an app that will "popup" a nice form when the user's mail submenu is selected at the AD console so I can add, modify, delete and check the mail addresses and aliases of that user. ...
Aditya -
5 Jul 2006 8:34 AM - 3 messages
Hi , I am developing one desktop applicatons in which frontend is VB.net and database options I have are MS ACCESS and SQL SERVER as of now size of the databse is small but in future it can increase .can someone tell me pros and cons of both , can I use XML? ...
steve -
5 Jul 2006 7:17 AM - 4 messages
Hi All I need help on how to load a form in the background so the load event runs (only once) then I can pass data and call showdialog I have code in the forms load event which populates comboboxes etc ...
Sugan -
5 Jul 2006 6:51 AM - 2 messages
Hi all, I'm creating a custom button control. I need to show a color image when the button control is enabled and a gray shade of the same image when the button control is disabled. How can i convert a color image to a ...
Ashok -
5 Jul 2006 6:30 AM - 2 messages
Hi, I would like to seek your help to get more understanding of how to concert a htm file (with images) to a word or excel file using vb.net programe. Appreciate if anyone can give the code for the above function. ...
Nathan Sokalski -
5 Jul 2006 3:24 AM - 5 messages
I recently converted some ASP.NET 1.1 projects of mine, created with Visual Studio .NET 2003, to Web Application Projects in Visual Studio .NET 2005 so that I could use ASP.NET 2.0 (All my ASP.NET is done using VB.NET). After ...
Lemune -
5 Jul 2006 3:14 AM - 5 messages
Hello everyone. I'm using vb 2005. I'm creating program that run as service on windows. And in my program I need to use timer, so I'm using timer object from component. I try my source code on another project that use windows ...
eBob.com -
5 Jul 2006 12:40 AM - 3 messages
I have a user control which creates an Excel spread sheet and badly needs Dispose/Finalize. I've read up on the subject in Balena and I think I understand what is going on. But the VS generated coded confuses me a bit. ...
Derek Hart -
5 Jul 2006 12:29 AM - 11 messages
On the main thread I have a status bar in a Windows form that I want to update when a long database process runs. The database process runs on a separate thread: Dim t As New Thread(AddressOf SomeDatabaseProcess) ...
fiaolle -
4 Jul 2006 7:45 PM - 2 messages
Hi I Have found examples of the class DataGridComboColumnStyle, but I don't really know how to use it. I have tried to add this columnstyle and ordinary columnstyles and insert data to the columns, but nothing happens. The Datagrid is just empty. Can anyone show me how to add to different ...
Kevin -
4 Jul 2006 6:48 PM - 7 messages
Is there an easy way to modify a CheckedListbox control so that each item can have a different backcolor? ...
George Lake -
4 Jul 2006 6:46 PM - 8 messages
Now this is strange. I had an app runing on W2K Pro and now that its on XP I cant find a file. The code that is not working is: If File.Exists("O:\DTX Import UMAR\AsTester.txt") Then ...
Sanjib Biswas -
4 Jul 2006 4:42 PM - 10 messages
Could anyone point out to me the difference between ulong (C#) and UInt64/ULong (VB.Net)? I was under the impression that both are same. Below C# code works fine for a particular value of 'data' (string length 36) and ...
Ian Dunn -
4 Jul 2006 4:27 PM - 4 messages
I'm simply trying to access an instance of Excel that has been opened manually by the user in order to put a few values in the existing sheet. Here's the code I've tried: Dim oXL As Excel.Application ...
Tom wilson -
4 Jul 2006 4:15 PM - 7 messages
I have an asp.net app running off of a W2003 server. It's being written in VS2003. I've encountered a problem where a database record is being updated with the wrong value intermittently. So I debug the ...
pcnerd -
4 Jul 2006 3:55 PM - 8 messages
In Java I can use, for example, " Imports java.util.* ". Can I use, for example, " Imports System.* " instead of several different "Imports" statements? Thank you. David ...
ucontrols.com -
4 Jul 2006 3:37 PM - 2 messages
Hi, we need beta testers for a WindowsForm VS2005 component. All beta testers will get a 30% off the final markup price. Just enter you email and download the beta. [link] Thank you. ...
neilr -
4 Jul 2006 3:29 PM - 3 messages
Can anyone help with some problkems that have wasted 2 days of my (inexperienced) time already? We have a website which allows people to register for events like conferences We are importing a table of fees for the apporpriate event using an Sp: ...
Tim -
4 Jul 2006 1:20 PM - 12 messages
hi, I would like to create an application that runs in a web browser. It must have access to the client machine. I guess a bit like the microsoft update tool at windowsupdate.com Having never created anything like this, can anyone point me in the ...
Anne DeBlois -
4 Jul 2006 12:25 PM - 5 messages
Hi, I am currently testing the printing features of Visual Studio 2005 (VB.NET) We want to release a database application that prints label pages. The labels must contain a picture box. I found this code to print an image: ...
Jerry Spence1 -
4 Jul 2006 11:34 AM - 2 messages
I have been doing the following is VB.Net 2003: Dim dr1 As OleDbDataReader .....Code here If Not dr1 Is Nothing Then If Not dr1.IsClosed Then dr1.Close() ...
|
|||||||||||||||||||||||