|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Visual Basic .NETmicrosoft.public.dotnet.languages.vb
Graham Charles -
21 Jan 2006 9:51 PM - 6 messages
I've got several generic "library" routines that are used by many of my controls & applications (things like string manipulation, generic error handling, an "about" box generator, etc.). As I transition my apps from VB6 to VB.NET, I'm curious about the best, most efficient way to ...
Justin -
21 Jan 2006 8:47 PM - 5 messages
I am having trouble figuring out the best what to accomplish this fairly simple goal. I have a program that controls a 1-wire network and I can only make requests to it one at a time, but I will need to make new requests ...
Jarod_24 -
21 Jan 2006 7:35 PM - 5 messages
How do a windows-service detect whether a user is logged or not on a computer? So far i've found nothing in the windows api or any code examples that will allow me to figure this out. The solution i have today is to use Diagnostics.Process.GetProcesses and then iterate through the array i get and look for ...
Cornjerker -
21 Jan 2006 3:09 PM - 4 messages
I've been resisting learning ADO.NET. I can pound out regular ADO solutions really quick and I haven't hit the breakingpoint that should force me to switch. Now I've seen a new data solution in the next ...
geoffteb -
21 Jan 2006 2:21 PM - 2 messages
I didn't have this problem with the VS 2005 beta, including a project that was started in beta and has now been updated to the final release. But in new projects started in the release version I have this problem. ...
bokiteam -
21 Jan 2006 10:29 AM - 3 messages
Hi All, In VB6, I can show/hide form by visable.show. It didn't work on VB.net, could you please advice, I have a form2, I want to show it after click button 1 in form1. Thank you very much! ...
marfi95 -
21 Jan 2006 6:51 AM - 6 messages
I am having to resort to Mick's methods when it comes to hiding/showing tabpages of my tab control since .NET doesn't work correct. I think I have it finally workign the way I need, but because I can show/hide up ...
CMM -
21 Jan 2006 5:57 AM - 17 messages
Is it me or has anyone noticed that F1 is really dumb in VS2005. Since VB3 I have been able to click F1 on an ambiguous method in code and the IDE automatically determines the type based on the code itself and shows the ...
iwdu15 -
21 Jan 2006 4:44 AM - 4 messages
how can i have my control that i made, only have my properties and my events, not the premade ones? i hope this makes sense... ...
iwdu15 -
21 Jan 2006 4:16 AM - 2 messages
hi, how can i create a usercontrol that when added to the form via the toolbox, it shows up like a timer or dialog box? i have my cotnrol "Inherits System.Windows.Forms.Control" but that just puts in on the form....how can i get that to work? ...
Jim -
21 Jan 2006 4:05 AM - 5 messages
I have seen [link] - but it does not work. I need a working example....if anyone has seen one. Jim ...
Nathan Sokalski -
21 Jan 2006 3:34 AM - 9 messages
I use a webhosting service that is something like halfway around the world from me and most of the people that will be viewing my site (and I am assuming their server is too). This obviously has very little effect on what ...
ken -
21 Jan 2006 3:04 AM - 6 messages
Hi, I have two questions the first is: in the example below how can I call an event from within a statement, such as replace Stop1 with cmdStop1 which is a button on my form? My second question again deals with the example below. Shouldn't I see ...
Marc R. -
21 Jan 2006 2:18 AM - 3 messages
Hi all, from the child side of the relation, I need to get a parent table's columns value, ex : Customer use a curency (I store the Curency_ID into customer) I need to retreive the Curency_Name from the Curency Table ...
me -
21 Jan 2006 1:37 AM - 10 messages
Hi All, I am new to Classes and learniing the ropes with VB.NET express Here's my question - say I have a want to manage a list of books. Each book has an Author, Title and ISBN Now, I am used to using Arrays so I would normally do something like this: ...
Anton Berg -
21 Jan 2006 1:09 AM - 2 messages
Hi, I am a beginner in VB and .Net and searching for a well written book for Visual Basic .Net 2.0. Can you give me an advise? I have a lof of experience in programming, e.g. in Visual C++, C/C++, ...
Nathan Franklin -
20 Jan 2006 10:35 PM - 2 messages
I have a DataGridView on my windows form and I am trying to enable buttons on a toolbar when the DataGridView's GotFocus is called and then disable with LostFocus(). The problem is I can only get the GotFocus to fire when I ...
Rayne -
20 Jan 2006 10:13 PM - 3 messages
I have a combobox that is bound to a datasource. It lists the users in the system and I want it to automatically select the current logged on user, so that the screen loads that user's information by default when ...
fripper -
20 Jan 2006 9:38 PM - 7 messages
Is it possible to display a message box (using the MSGBOX function) without the beep? Thanks. ...
soup_nazi -
20 Jan 2006 9:37 PM - 3 messages
I have a one string per line and I want to delete the last part of each string after and including the final "/" character for each line For example: Applications/base/test1 Applications/base/test1/test2 Applications/base/test1/test2/test3 ...
JackBlack -
20 Jan 2006 9:35 PM - 4 messages
Using VB.Net (VS.Net 2k3)... I'm at a bit of an impasse I think... Is there any way to convert an array of Byte() into a System.Drawing.Image object without writing the array to a file, then reading back into the s.d.i object? Couldn't find anything in ...
Jedi10180 -
20 Jan 2006 8:07 PM - 3 messages
I have a combo box that has 5 categories in it. When a user clicks on a category in that list, I need to have a second box populate with a list of pdf files that relate only to that category. Then, when the user clicks on ...
g18c -
20 Jan 2006 6:14 PM - 2 messages
Hi, i have posted off topic to hopefully pick up a few design tips from the experienced programmers here. I have a number of objects in my current application, two of which are nodes and gateways. The DataGridView is excellent for me because i can add new objects to a ...
robecflo -
20 Jan 2006 6:01 PM - 2 messages
Hi forum, i have a problem with forms. My client fills a form and then submit once it is complete, then it redirects to another page some users sometime clicks on the IE back button. So if the page is back the ...
Mythran -
20 Jan 2006 5:46 PM - 2 messages
In C#/C++, you can use the following (almost the same for both) for destructors: // Constructor public ClassNameHere() { } // Destructor: ~ClassNameHere() { } In VB.Net, is Finalize() method the destructor method? Thanks, Mythran ...
XxLicherxX -
20 Jan 2006 5:08 PM - 7 messages
Hello everyone - new to VB.net working with Excel I am trying to populate data into cells in an Excel spreadsheet using Range.Value. No matter what cell I give as an argument to the Range object, Excel always puts the value in "A1". ...
Michael -
20 Jan 2006 4:44 PM - 7 messages
Hi Everyone, I'm currently using VS 2005 and would like to use the databinding of the controls to help ease up some of the coding I have to do (some of my forms have over 120 fields). The problem I find is that in the database we are ...
Steve Long -
20 Jan 2006 4:30 PM - 2 messages
Hello all, is there a way to programatically uninstall a program via one of the Windows Management classes or one of the Win32 classes? I'm looking for a way to invoke the process that occurs when you click Add or Remove Programs in the ...
HKSHK -
20 Jan 2006 4:15 PM - 2 messages
Hi guys, I'm currently struggling with my database connectivity for a VB.NET/ACCESS database software. I currently use OleDB, but I find it quite cumbersome compared to DAO. Is there anything of importance (e.g. instabilities, crashes, etc.) ...
Marina -
20 Jan 2006 3:34 PM - 6 messages
What is the right way to go about making sure an application is not frozen and unresponsive while a relatively long running process is going on? The process is making updates to the UI, which the user needs to see as they are ...
Bill nguyen -
20 Jan 2006 2:56 PM - 3 messages
I would like to be able to force "HH:MM" format for a text field to show hours and minutes in military format. User can enter 130 or 0130 and the text would display "01:30" Any suggestion is greatly appreciated. ...
AndyL -
20 Jan 2006 2:06 PM - 4 messages
Hi, when i call the NETUserChangePassword from the netapi32.ll I receive "Module not found" error? Here my code: Private Declare Unicode Function NetUserChangePassword Lib "netapi32.dll" (ByVal domainname As String, _ ByVal ...
pamelafluente -
20 Jan 2006 1:45 PM - 3 messages
Hi Guys, I have a small application which uses a NotifyIcon. The user can set the program so that when he clicks on the form-cancel button "X", the program will instead be minimized in the icon try. See code below. ...
Savas Ates -
20 Jan 2006 1:21 PM - 10 messages
Dim ProductPropertyValues_Value as string ProductPropertyValues_Value = xx("ProductPropertyValues_Value") it returns error.. Because xx("ProductPropertyValues_Value") returns NULL or "" records? How can i convert it to string or which method should i use it ? ...
djc -
20 Jan 2006 1:04 PM - 3 messages
I am very new to this... I just started playing around with some network programming. I really only use vb.net. I say that so I don't get the 'use c/c++' answer. Programming is a hobby for me, not a career. I'm only ...
Lars Netzel -
20 Jan 2006 12:56 PM - 8 messages
Hi How do I get information (read) about the phonenumber in the default Dial Up Connection? Best Regards/ Lars Netzel ...
Savas Ates -
20 Jan 2006 12:30 PM - 3 messages
I have a web application. I checked my files they work properly in my local computer. When I try to upload it to our web server it doesnt work what i made a change. Probabyly IIS cache my application. I stopped iis for my root ...
Martin Horn -
20 Jan 2006 11:55 AM - 7 messages
Hi, I have encountered a problem with compiling my project. Basically what happened was that I noticed my PC date was set a day into the future, so I reset it to the correct date. Now when I compile my project it ignores any ...
almurph -
20 Jan 2006 11:45 AM - 3 messages
Hi everyone, Hope that you can help me please? I have a string of the form: wordA wordB wordC wordD etc etc I want to de-duplicate it- that is, I want to remeove any repeated ...
Martin -
20 Jan 2006 11:19 AM - 4 messages
A while ago I posted a question on how to load MDI child forms maximized (WindowState=Maximized). When I do this they always load in a sort of in-between state and only when I resize the MDI container they take their ...
Neal -
20 Jan 2006 10:52 AM - 3 messages
Hi All, I have VS 2005 Pro and when inheriting a class in 2003 the drop down combobox at the top of the IDE's text editor showed the overrides + the Events for the class. However in 2005 it just shows the Events, and not the ...
bruno -
20 Jan 2006 10:12 AM - 2 messages
In a VB.NET 2005 program, that hooks Kb and mouse inputs for any active desktop application, I've just added a new CBT hook. After that every think work fine, like before, BUT: CBT filter is not actiated, even if SetWindowsHookEx returns a valid hHook ...
reidarT -
20 Jan 2006 9:58 AM - 7 messages
I will develop a backup routine with local files (zipped) to an internet server via ftp. How do I zip files in Vb.net? reidarT ...
jt -
20 Jan 2006 9:13 AM - 7 messages
The program i have has login form. After a user has loged in, formX is loaded and i want to dispose all the forms that where used before (login form). so the result should be the same as when you use formX as your startup object. ...
guy -
20 Jan 2006 9:02 AM - 4 messages
occaisionaly when going into the forms designer i get the message:- "Code generatinon for the property 'Source Module' failed Error was: 'The value 0 is not a valid value for the enum 'EnumSourceModule'.' any ideas what this is? *guy* ...
Phonzo -
20 Jan 2006 8:43 AM - 3 messages
Hi all, I am trying to determine the status of a Job after it has finished running, but I don't get the correct results: I first check if the Job is currently Running: Private Function isJobExecuting(sJobName As String) As Boolean ...
Danny Nielsen -
20 Jan 2006 8:35 AM - 5 messages
Hi I am new to vb.net 2005 (in fact vb in general as well). I have tried creating a datagridview with 4 columns, with one as a DataGridViewCheckBoxColumn. My problem are that data has been put in the way they should from my db but updates arent visible on this ...
Yash -
20 Jan 2006 6:46 AM - 5 messages
Have used DrawLine() method to draw some lines in the picturebox (sort of a barcode) in the picturebox paint event. This diagram has to be saved as an image in bmp or tiff format. But the problem is that these lines are not recognized as the image of ...
Cornjerker -
20 Jan 2006 5:27 AM - 4 messages
I see where I can change the date a file is created.... File.SetCreationTime(path) But how can I change the date a file is modified. Thanks, C ...
marfi95 -
20 Jan 2006 4:47 AM - 8 messages
Hi all, I have an app that contains a tab control with a tabpage on it. As part of the interface, the user keys in a field that basically identifies how many instances of these tabpages to have. So my basic ...
Al_C -
20 Jan 2006 3:51 AM - 3 messages
Not happy about this, but just saw a note on another forum that VBExpress/.net2.0 does not run on WIN98SE. Can anyone please help me sleep better tonight. Otherwise I need to change dioections again. ...
James -
20 Jan 2006 2:53 AM - 4 messages
I've open a file and read the file into arraylist. My text file contents are a.txt=a.bat b.txt=b.bat c.txt=c.bat i want to do a select case statement for filewatcher, if a.txt is created, ...
Newbie -
19 Jan 2006 8:38 PM - 4 messages
Could someone please tell me how or if the following is possible. I have created a small test database and have opened one connection, one DataAdapter, and one Dataset for it in my vb.net (ado.net) program. I ...
cj -
19 Jan 2006 7:32 PM - 4 messages
I found a good tutorial for making a windows setup program so I'm doing that. But when I add folders to the target machine list they don't seem to have one for the all users startup folder. I assume this will be a ...
Mr Newbie -
19 Jan 2006 6:44 PM - 10 messages
Before someone flames me, I know this is the VB.NET groups, nonetheless, the asp.net guys seems to have almost disapeared from the aspnet groups so I thought I would ask this here. I have a problem with an aspx web form in that if I refresh, it simply ...
Kruno -
19 Jan 2006 6:44 PM - 3 messages
Hi, I need to close main win form after some time inactivity. Users mostly do the work only with the mouse. It's possible to handle mouse move event on application level? Because I don't like to write next statement for each control like ...
Dino Buljubasic -
19 Jan 2006 5:16 PM - 5 messages
Hi, I have noticed that when I use Socket.Receive(byte[]) it retrieves all information about files including day, month but without year. Date for directories is full though. What would be reason for this? How can I get full date for files ...
teddysnips -
19 Jan 2006 5:04 PM - 2 messages
I have an aspx form with 52 text boxes, each one representing a week. On another part of the form I have a further 7 text boxes, each representing a day of the week. I'd really like to be able to mimic the functionality in the VB6 ...
bokiteam -
19 Jan 2006 4:54 PM - 3 messages
Hi All, I am developing a WinCE project, when I include datagrid, it says no define.. could you please advice? it works on Win32 project by the same code... Thank you very much for you help! Best regards, Boki. ...
cj -
19 Jan 2006 4:22 PM - 9 messages
I've written a very small simple program that uses one com object. I've set the configuration to Release and built the Solution. Now I've heard with .net (2003) that I can just copy the exe in the obj\release ...
Heinz -
19 Jan 2006 2:08 PM - 2 messages
Hi all, sn.exe is included in .net SDK. Is it possible to use sn.exe even on a system without .net SDK? .net Framework is installed but I don't want to install the 100MB SDB just for sn.exe. I copied sn.exe to another ...
tshad -
19 Jan 2006 1:28 PM - 3 messages
I am trying to create an application in my VS 2002 application. I took some of the code from my web page where it works fine. I can connect fine from my Sql Query Analyser to both my local Sql Server ...
Mike Labosh -
19 Jan 2006 1:02 PM - 5 messages
Today in my hotmail account, I got my first unsolicited job opportunity for VB 2005: They want 5+ years experience in VB 2005 [get this...] for UNIX BTY, SQL / Oracle experience is a plus. 45K / year. They're kidding, right?!? ...
tshad -
19 Jan 2006 12:23 PM - 2 messages
I am trying convert my projects to other names and was wondering if there is a list of what the different files are used for. For example, when I try to open a Project, I have the choice of the .vbproj ...
sanu -
19 Jan 2006 11:15 AM - 3 messages
Hi, Need your help, function. The dll function takes a string (consists of huge data) parameter byref. Below code sample. Do we have to take care in .net for the memory allocated in the c++ dll (SysAllocStringByteLen ?). Or does .net on exiting handles this. How ...
Flashster -
19 Jan 2006 9:46 AM - 3 messages
I'm new to all this so please forgive me if I use the wrong terms or have used the wrong approach here... I have a thread which gathers some information from the internet for my windows application. It gathers the information fine, but I am having a ...
bokiteam -
19 Jan 2006 9:15 AM - 3 messages
Hi All, I am reading data from database, I can use SQL command set to get data. now I wan to use the same function in WINCE, but I can't find "system.data.oledb" in SmartDevice developing enviroment.... Could you please advice? ...
James -
19 Jan 2006 8:27 AM - 3 messages
below is some codes. my arraylist below reads from a file. My files contains blank line (ie carriage return) My message dialog shows all strings being captured. However i do not want my array to contain "blank" string/line/carriage return ...
Emrani -
19 Jan 2006 7:38 AM - 3 messages
when i write my code (by .net 2005), some labels in farsi that must be shown in right to left manner, my pocket pc(MC50) shows them in left to right manner and in addition it separates characters from each other. ...
latin & geek via DotNetMonster.com -
19 Jan 2006 5:16 AM - 2 messages
hi. ive been trying to filter rows from an access table with the sql select command, this is the line i used: sql1 = "SELECT cus1,wexp,sno, model, invdate, invno,amt, equip, roll FROM amc1 WHERE branch like '" & x & "' AND invdate < 'dateto'" ...
Noozer -
19 Jan 2006 5:01 AM - 2 messages
How to change IP Gateway simply? Just looking for some sample code... Could be VB6 or VB Net 2005.... I want to have a Tray icon. When double clicked it changes the TCPIP gateway to a secondary choice. Double click again and it's back to the original ...
tshad -
19 Jan 2006 4:52 AM - 5 messages
I have an old version of VS 2002 and want to make a copy of my Visual Studio project to another project with another name. In VS 2003, you can do it but there is no copy project command in VS 2002 (at least I can't seem to find ...
Pankaj -
19 Jan 2006 4:51 AM - 6 messages
Hi i am inserting the data into database throught variables. On click event of button m using this code: Dim objCon As New OleDbConnection(CONNECTION) Dim objCmd As New OleDbCommand(SQL, objCon) SQL = "INSERT INTO linkinfo VALUES('" & Sno & "','" & Website & "','" & ...
James Wong -
19 Jan 2006 3:30 AM - 2 messages
Dear all, For some reason, I have to write my own code to print a document instead of using report writer. The source is an array with dynamic length. If one page is full, I have to insert a page break and print a new page to ...
gregory_may -
19 Jan 2006 12:12 AM - 6 messages
Seems silly I need two lines of code for this. Any way to do it in one? Dim DcArray() As DataColumn = {MyData.Tables(0).Columns("PhoneNumber")} MyData.Tables(0).PrimaryKey = DcArray ...
Philip Wagenaar -
18 Jan 2006 11:52 PM - 5 messages
Can a windows service running under the local system account create users and add them to the administrators group? When I try to do this and try to use process.start with the user created I receive access denied. When I change the windows service to and administrator account, I receive ...
Philip Wagenaar -
18 Jan 2006 11:39 PM - 4 messages
I have some code that I want to run under another user. I know his password. I want the vb.net code in my program to strart under under that user and not start an external program. This because the application will run as a windows service and I cannot ...
Boni -
18 Jan 2006 11:04 PM - 3 messages
Dear all, what is a good newsgroup for setup projects? Thanks ...
JackBlack -
18 Jan 2006 10:49 PM - 3 messages
Using VS.Net 2k3, 2.0 Framework installed... So, I'm sitting here trying to do a very basic SMTP mailer, and I'm struggling with getting either System.Web.Mail (1.1) to work, or System.Net.Mail (2.0) to work. A note on one of the KB articles says that ...
simon -
18 Jan 2006 8:15 PM - 5 messages
hello, may have a need shortly to call a java class from a vb.net web app. basically the java class would serve as an email creation/sending function. i realize this all could be done in .net, but i'm just curious as to ...
jaawaad -
18 Jan 2006 5:07 PM - 6 messages
Does anyone know how i can compute values from dataset table before assigning datagrid source to it??? My data table looks something like this. DATE CAT STEP VALUE ...
jaawaad -
18 Jan 2006 5:05 PM - 2 messages
Does anyone know how i can compute values from dataset table before assigning datagrid source to it??? My data table looks something like this. DATE CAT STEP VALUE ...
NetRacer -
18 Jan 2006 3:13 PM - 3 messages
hi, i have a DataGrid with a DataGridBoolColumn. The assigned Column is a TinyInt and the values are only 0 or 1. I set these values to the TrueValue und FalseValue Property, but the CheckBox doesn't show the values but is greyed out. ...
Lars Netzel -
18 Jan 2006 2:34 PM - 5 messages
Hi Is it possible to get information on how the settings are set in windows thru vb.net? best regards /Lars Netzel ...
marfi95 -
18 Jan 2006 2:13 PM - 3 messages
Hello all, I have an application that has been running great in production for well over a year now. It is a Windows form app, has FTP connectivity, Oracle DB connectivity, fairly complex form usage and logic, using listviews, splitters, etc.... ...
Jørn Jensen -
18 Jan 2006 1:14 PM - 6 messages
According to a Microsoft article a typed dataset is available through intellisense and can be accessed like in this example: TextBox1.Text = NorthwindDataSet.Customers(3).ContactName I have created the Typed DataSet after microsoft recomandations and it's available in the object browser, but this is where my problem begins.. ...
Philip Wagenaar -
18 Jan 2006 12:55 PM - 3 messages
How can I get the output from a process.start. Example: Process.Start("c:\windows\system32\rp", PrintQueue & " " & filename, Username, pass, ComputerName) How do I get the output of this into a string? ...
msnews.microsoft.com -
18 Jan 2006 12:22 PM - 4 messages
Hello Can any one tell me that if I buy Microsoft Visual Studio 2005 Professional for dotnet, do I get following product Visual Basic Express Visual C# Express Sql Server Express Web Devlopment Express Edition I know these tools are availabe for free download from microsoft. ...
kurt sune -
18 Jan 2006 11:44 AM - 8 messages
VB is supposed to have free format. I have tried, most for fun, to write a property on ONE line. I have not succeded. Can you? <Bindable(False), _ Description("Sets the CSS class of the button."), _ Category("CssClasses"), _ ...
AB -
18 Jan 2006 11:21 AM - 5 messages
Hi All, I would like to add controls that stored in DB dynamically, and I don't know their names or their number. The names of the controls is important therefore I can't create cmbArr(0), cmbArr(1),and so on. The ...
Steven -
18 Jan 2006 11:12 AM - 2 messages
I develop the application which contains MSFlexGrid to display data. When I try to fill the grid with the text data, I want to adjust the column width so that the width is adjusted to the maximum pixel width of the column text ...
Lars Netzel -
18 Jan 2006 10:56 AM - 3 messages
Hi How do i (in vb.net) get the information if the windows firewall is turned on or off? best regards /Lars ...
guy -
18 Jan 2006 10:46 AM - 3 messages
this has probably been asked before but is there a site where we can post suggestions for new vb9 features? *guy* ...
mac.speed -
18 Jan 2006 9:59 AM - 6 messages
Hi! i have set of over 100+ regular expressions, instead of checking user input against these regex i want to store all possible matches in a database and search against them. like if a regex is "what is your (home|office|cell|mobile) phone number" ...
bokiteam -
18 Jan 2006 7:48 AM - 13 messages
Hi All, I dont' know why I can not pop up a message box. MsgBox("test") it is ok in vb6... Best regards, Boki. ...
bokiteam -
18 Jan 2006 7:22 AM - 7 messages
Hi All, I have this error msg, but I have already import lib, could you please advice? Imports System.Data.OleDb Public Class Form1 Inherits System.Windows.Forms.Form Dim cn As OleDbConnection Dim cmd As OleDbCommand Dim dr As OleDbDataReader ...
MrBewsher -
18 Jan 2006 5:54 AM - 6 messages
Hi, I'm using VB.Net and writing an NT service that runs in the system account in the background with no interaction with the desktop. I'm running it on XP Pro. I'd like to get the URL of any Internet Explorer process a logged in ...
simon -
18 Jan 2006 5:23 AM - 6 messages
Hello is there a variable that is available to me that contains the number of rows contained in a dataset return from a database call? have a class that runs a stored proc and returns a dataset/resultset looking to simply assign an integer this value if it is possible ...
|
|||||||||||||||||||||||