|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Visual Basic .NETmicrosoft.public.dotnet.languages.vb
Just Me -
30 Dec 2006 7:40 PM - 4 messages
I need a regex to do this. Ignore < possibleWhiteSpace htmlTag Replace whitespace anything > With > Basically I need to remove anything following the html tag up to and ...
Bob -
30 Dec 2006 5:28 PM - 7 messages
Hi, I found this code here below (about cartitems and shoppingcart) and I have two questions about sub New(). In the first class CartItem, there is two times sub New(): Public Sub New() End Sub ...
Ivan Jericevich -
30 Dec 2006 5:21 PM - 2 messages
I want to join the text from a combobox and a textbox preferably with a space between, as string ...
lakepeir -
30 Dec 2006 4:18 PM - 4 messages
Hello, I'm have defined a combobox on form2 and I'm trying to use that value in form1. I have defined a global value so that form1 can retrieved the modified value as: Public Shared TimerMinutes As ComboBox ...
lakepeir -
30 Dec 2006 4:09 PM - 7 messages
Hello, I'm trying to launch a text file in the Notepad application. When I click the menu item, the application is not launched and the text file is not launched. Listed below is the code. Code: Private Sub MenuItem_Help_Click(ByVal sender As Object, ByVal e As ...
Just Me -
30 Dec 2006 3:34 PM - 5 messages
I need to access a text document in the folder where my project is stored, does anyone know how I can tell were the folder is from within a form. Like me.myDirectory or something like it ? ...
Bob -
30 Dec 2006 3:28 PM - 6 messages
Hi, i'm not sure to understand how a value is returned from a function. Look at this code below about a simple function that compares a value with values 1 from 5. I thought: if the passed value (x = test(?)) is not from 1 to 5, then the ...
b_r -
30 Dec 2006 12:11 PM - 23 messages
Hi, I'm trying to make a simple operation (insert into DB) in VB 2005 and SQL Server. The code is as follows: Dim sConnectionString As String = _ "Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\DB.mdf.... ...
Just Me -
30 Dec 2006 9:31 AM - 2 messages
I hate regex and I struggle with it, but it may be the simplest way to acheive what I need, if only I knew how ?! Basically, I need to process HTML. I want to strip everything out including all attributes and just leave the following tags. ...
vbnewbie -
30 Dec 2006 8:19 AM - 13 messages
I am having problems accessing properties of dynamically generated objects in VB2005. Can someone please help? In a nutshell: My app creates an equal number of checkboxes and labels that share the same Tag number. (I thought it might help) ...
Nathan Sokalski -
30 Dec 2006 6:09 AM - 14 messages
I often use self-closing tags (such as <br/>) when creating an ASP.NET application. However, when I enter them in Visual Studio .NET 2005, it automatically inserts a space before the />. In most cases this does not ...
Jeff -
30 Dec 2006 1:31 AM - 3 messages
Is there a way to manipulate the width of the space between the radio buttons in a radio button list? I can't seem to find a way to do this. ....even tried to insert blank spaces, but VB (at least vb in dot.net 2.0) ...
RobinS -
29 Dec 2006 11:42 PM - 11 messages
Hello to all, and happy new year! I have this application that someone wrote that I'm sort of checking out. The forms look fine in design mode, but when I run the application, it crops off the bottom of almost every form. I haven't figured ...
Roger Vale -
29 Dec 2006 10:17 PM - 12 messages
Hi all Visual studio 2005 Visual Basic windows mobile application I am getting this from the imediate window A first chance exception of type 'System.InvalidCastException' occurred in System.Drawing.dll Now the program still runs but this error seems to appear every time i swap ...
DeCoder -
29 Dec 2006 10:06 PM - 4 messages
I have the same issues with windows service and timers. Your issue is not the only issue with windows 2003 / vb.net service timers. The workaround MS support suggested to keep the events firing was to periodically 'flipflop' the timers enable state somewhere in the code . Seems stupids, but keeps the ...
DeCoder -
29 Dec 2006 10:02 PM - 2 messages
I have the same issues with windows service and timers. Your issue is not the only issue with windows 2003 / vb.net service timers. The workaround MS support suggested to keep the events firing was to periodically 'flipflop' the timers enable state somewhere in the code . Seems stupids, but keeps the ...
Robert Dufour -
29 Dec 2006 7:07 PM - 7 messages
What is the meaning of the word marshal and unmarshal in plain english as applied to an exe file? Does it mean the application has started and ended? Thanks for any help, Happy new year, Bob ...
Al G -
29 Dec 2006 6:20 PM - 4 messages
Hi, VS2005team(w/ sp1), VB, XP(w/ sp2) I am attempting to open a file that has parenthesis in the filename. The following code works OK without the "( )", but not with them. The error is: "Command contains unrecognized phrase/keyword." ...
Si -
29 Dec 2006 4:12 PM - 3 messages
Thanks in Advance, I don't know if I need to copy the memory to an Array (thats what I would have done it in vb6), I just need to be able to read/access it. I have a Callback function that is handing me a block of memory - ...
Jarsinio -
29 Dec 2006 1:56 PM - 2 messages
Hi, In my aplication I have an ArrayList thay hold many instances of a class. ( The bussiness layer return to the UI layer an ArrayList) I want to know how Can I fill the DataGrid with the arraylist ? Thanks Alan ...
Just Me -
29 Dec 2006 12:29 PM - 2 messages
Hi Geezers, I need some code which will parse and strip attributes from a table in a textbox. Basically, I need to paste in the table and run a little routing to convert the table into a DataTable. Does anyone have such code or know where I can obtain it ? ...
Martin -
29 Dec 2006 11:09 AM - 2 messages
Hi all, I'm making a program for the Smart Device (Compact .NET Framework) and I noticed the "MY" object is completely missing. I wonder how to open a 2nd form. The app is supposed to work like a wizard: Opening window, entry ...
Karl Fu -
29 Dec 2006 10:40 AM - 2 messages
Hi, I'm new to VB2005 developement. I've the following questions: 1) Can I create or use the control like the 'Toolbox' of Visual Studio 2005 in my application? If not, any alternatives to do in that way? 2) If a window form control doesn't have 'opacity' property, can I add that ...
Jeroen -
29 Dec 2006 10:38 AM - 2 messages
Hi, How do I read SNMP MIB's from a specific computer on a network? I can read information with SNMPUTIL but I want to automate detection of specific MIB's to configure another application using XML (that part works already). The ...
Igor -
29 Dec 2006 8:26 AM - 5 messages
RadioButton have property Checked (true or false). If I make RadioButtons with code, without drawing by mouse than I have problems. I write like this: Dim rb(0 To 2) As RadioButton Dim n As Integer ...
sajin -
29 Dec 2006 8:12 AM - 4 messages
Hi All, I am having a vb.net (VS 2005) application which creates some files in the Program Files foldes ( lets say 'Test') , but as usual when i uninstall this application i remove the folder from the Program Files but the thing is that if the user is bright enough and he did a ...
Steve -
29 Dec 2006 7:23 AM - 6 messages
I have created my own context menu. Everything works except undo'ing deleted text. My code for these two events are: Private Sub tsmiUndo_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles tsmiUndo.Click ...
Galen Somerville -
29 Dec 2006 2:22 AM - 16 messages
I have an app using a VB6 ActiveX.dll which I also have made as an exe. Both the dll and exe have exactly the same code and start in Sub Main. There is no form involved. I start this activex as a Process like so: ...
Tim A -
29 Dec 2006 12:49 AM - 4 messages
I have recently migrated from VB6 to VS2005 Express. It would appear that in order to specify a splash screen EULA during install and specify a specific install folder (that the end user can override) I will have to "get off my ...
Kimera.Kimera -
29 Dec 2006 12:46 AM - 4 messages
I'm trying to write a program in VB.net 2003 that basically deletes all files, folders, sub-folders and sub-sub folders (etc). The program is simply for deleting the Windows/Temp folder contents, removing all the files/folders inside it. ...
Paulers -
29 Dec 2006 12:09 AM - 9 messages
Hello I have an ArrayList full of Person objects. I would like to sort the object array by the objects property 'Name' so when I loop through it and populate a combobox they are in order. How do I attack something ...
cptkirkh -
28 Dec 2006 10:38 PM - 2 messages
I havea listbox bound to a datatable. When the form loads it thinks the first item is selected. Is there anyway to tell the listbox when it loads not to select the first time automatically? ...
James Maeding -
28 Dec 2006 10:34 PM - 2 messages
I am using VS 2005 to make a console app that shuts down explorer.exe and restarts it. I can shut it down no problem, its starting it back up to the same folder as the console app that is proving difficult. ...
Trevor -
28 Dec 2006 8:03 PM - 8 messages
I have created a small DB in Access, I then created the datasource and got the data through to the app in detail and it shows me 6 columns and each of the 6 columns holds a number. I then have a further 6 text boxes, I want to enter a number in each of ...
Sankalp -
28 Dec 2006 3:46 PM - 2 messages
Hi, I am using VB 2005. My application has many data bound controls. The connection is stored in the app.config file. I want the application to start with a default connection string and while during the runtime, the user can click on a button and change the ...
Andrew -
28 Dec 2006 3:01 PM - 9 messages
how to check if the dataset is EOF or if a record exists frist in ADO.NET and vb2005: Dim conn As New SqlConnection("User ID=sa; password=apw!pain; Initial Catalog=APW_SYSTEM;Data Source=paradigm") Dim sqlstr As String = "SELECT * FROM sysMaster WHERE sysName = ...
BenCoo -
28 Dec 2006 1:38 PM - 5 messages
Hello, In a Binary Search Tree I get the error : Object must be of type String if I run the form only with the "Dim bstLidnummer As New BinarySearchTree" it works fine. Thanks for any help on this, ...
Fido -
28 Dec 2006 12:00 PM - 2 messages
Hi. i want to develop QUICKBOOKS style datagrid for my final project. i have no idea how to make this thing. and any one tell me how to develop such a grid? Thanx in Advance. ...
hirak chatterjee -
28 Dec 2006 8:57 AM - 2 messages
Hi, i want to find interrelations among all the primary keys in all the tables. for e.g== the output will be .....is the primary key of table............ .....is the primary key of table..... and foreign key in table...... etc...like this. ...
Chris -
28 Dec 2006 8:17 AM - 6 messages
What would be the simplest way to make an app wait for one process to finish before starting the next process? Example /// FileCopy(strPath & "test.mdb", strPath & "live.mdb") Wait(Until FileCopy is Done) <---------------That is what I'm ...
Paulers -
28 Dec 2006 4:11 AM - 3 messages
Hello all, I am trying to parse an XML document and populate objects to store in an ArrayList but I am having issues when an element is NULL. I cant seem to figure out how to handle it. I keep getting a null pointer ...
Kevin -
28 Dec 2006 2:45 AM - 5 messages
I have an application that handles datascraping with a TN3270 session. The TN3270 session is opened with a .ws profile and pcomstrt.exe. The process string in the application is this: psSession = New Process psSession.StartInfo.FileName = path\to\pcomstrt.exe ...
Steve -
28 Dec 2006 12:42 AM - 3 messages
I want to save the current value of the textbox before the user changes it - in case I want to restore it. Currently, I'm setting a local string variable equal to the text value in GotFocus. Should I be doing this in a ...
Jeff -
28 Dec 2006 12:22 AM - 5 messages
I've been attempting to find the answer, but don't know what to search for. If someone could get me started, I can figure the rest out. I'm using visual web 2005 with vb. The following works to change the background color on a table called ...
Ivan Jericevich -
28 Dec 2006 12:13 AM - 3 messages
I changed some bindings and made a real mess, I would like to close the project and reload from my last save. How do I close the project withot it saving in it's current state of mess. ...
Rich -
28 Dec 2006 12:06 AM - 8 messages
Greetings, If x = y And m = n The .... End If If x = y AndAlso m = n Then .... End If When do I need to use AndAlso vs And? Thanks, Rich ...
Terry Olsen -
27 Dec 2006 11:10 PM - 2 messages
Is there any way for my app to capture a keypress or a button click from another app? I need my app to be able to catch the click before the other app and process the click or keypress instead. ...
xamman -
27 Dec 2006 10:40 PM - 4 messages
if i share a dataset & dataadapter in a web apps cache, and i have a webform which in page.load does a dataadapter1=cache("adapter1") dataset1=cache("dset1") ...
chrisknapp -
27 Dec 2006 8:51 PM - 7 messages
I'm learning VB and am making an application where I need a user to be able to choose which folder his files are located in. The folder path chosen will be stored as a string for later use in the application. I ...
Carly -
27 Dec 2006 8:36 PM - 5 messages
Hello there, Strangely enough until now I did not find any articles that describe in a "crystal clear" way how to deploy a VB.NEt application. 1. Is it mandatory to have .net framework on the target computer? 2. I added to my windows form project a setup project and I built the ...
Don Juan -
27 Dec 2006 6:37 PM - 3 messages
How can this C# function be converted to VB.NET static IntPtr MakeLParam(int LoWord, int HiWord) { return (HiWord << 16) | (LoWord & 0xffff); } I'm trying the following but is causing an error : (Operator Or is not ...
iCon -
27 Dec 2006 6:19 PM - 16 messages
Hi, i need to build a program that does this: -Press Delete every 20 seconds -Press Insert every 30 seconds -Do that until the program gets canceled by the user. Can somebody help me with the code? ( Im not a pro ;( ) ...
Don Juan -
27 Dec 2006 6:11 PM - 5 messages
How can this C# function be converted to VB.NET static IntPtr MakeLParam(int LoWord, int HiWord) { return (HiWord << 16) | (LoWord & 0xffff); } I'm trying the following but is causing an error : (Operator Or is not ...
Fla -
27 Dec 2006 6:03 PM - 2 messages
Good morning. I'm developing a software in VB.NET using MDAC (through System.Data.OleDB) to read and write MSExcel And MSAccess files in a target machine without MSOffice. Is there any rojalty on .MDB and .XLS formats? Can I manage XLS and MDB file without MSOffice license? ...
andrewbda@gmail.com -
27 Dec 2006 3:59 PM - 5 messages
How do I check if a table is empty in access? I need to run different VB depending on if a certain table is empty or not. Thanks! ...
Paul Ilacqua -
27 Dec 2006 11:02 AM - 9 messages
I have a single form VB.NET program that prints some data using PrintDocument class. The problem is when I preview the document and then close the preview... it exits the application. I have 2 versions of the program 1 that exits and 1 that doesn't. I've scoured the properties of the ...
imonline -
27 Dec 2006 10:33 AM - 5 messages
Hi, I want to put a label control on the windows media player and I want it to be transperent. But it is not working. I even tried making windows media player parent of the label. ...
Trevor -
27 Dec 2006 9:21 AM - 3 messages
Please can someone help me. I have a small project that I want to do but I am having problems trying to figure out how to do this. I have created a small application that take numbers that I give it and ...
Newbie Coder -
27 Dec 2006 3:41 AM - 38 messages
How to create a system restore point in VB.NET 2003 only, please? Google never came up with anything of any use TIA ...
Terry Olsen -
27 Dec 2006 12:03 AM - 3 messages
I'm building a database export program where I want to allow the user to choose a connection type (ODBC,OLEDB, or SQL), enter a connection string, and then export the schema and a number of rows of data. I need to fill a listbox with database names which the user id has read ...
Bruce -
26 Dec 2006 11:02 PM - 9 messages
I am using VB in Vs2005. Am I missing something or does VB not have the concept of "builds" (release/debug) like in VC? I wrote an assembly and I would like to have a debug version of the DLL and a release ...
igor -
26 Dec 2006 9:52 PM - 2 messages
I recently attempted to incorporate an OCX into a .net windows service using .net framework 1.1 The ocx failed to perform as expected, meaning the OCX events failed to execute. I specifed the withevents clause in my declaration. ...
igor -
26 Dec 2006 9:35 PM - 11 messages
I have recently discovered that the system.Timers.Timer from.Net Framework v1.1 is not reliable when used on Windows 2003 server. When incorporated into a Windows Service, the timer_elapsed event will stop executing after 30 to 40 days. After learning this, I found the same ...
Justin -
26 Dec 2006 6:14 PM - 13 messages
I can attach my code if anyone wants to see it however I'll try to ask my question with some mark up code first. I'm having a problem terminating my process while using DoEvents. For example: Button.text = start ...
Andrew -
26 Dec 2006 6:01 PM - 20 messages
I am simple tryint to learn how to use the ADO.NET code. Can anybody tell me if I am using it right or not? Imports System.Data.sqlclient Imports System.Data Public Class Form1 Inherits System.Windows.Forms.Form ...
Martin -
26 Dec 2006 4:43 PM - 4 messages
Hi all, I just started a project in VB2005 for Smart Devices. For this I need to read a text file. Does anyone have a code snippet of how this is done? I mapped a directory to emulate the storage card and copied the file in there. ...
Simon Verona -
26 Dec 2006 3:32 PM - 11 messages
I've decided to store my help pages on a web site rather than deliver with my application (trying to reduce the size of the install files). The web site is sort of all ready to rock and roll. How from VB.net do I launch an internet explorer window, but making the ...
JO -
26 Dec 2006 2:10 PM - 4 messages
hello how i make to install database on the server and not local when i use xcopy and i use publish ? thx bonjour, est il possible de dire au programme lors de l'installation de mettre la base de données sur le serveur et non en local ? ...
Igor -
26 Dec 2006 1:43 PM - 17 messages
Can I use access for big database (cca 10-30 MB, cca 10-30k lines in database). It will be asp.net 2.0 aplication and very fast server. Mostly simple transactions (like SELECT * From Books Where Name like 'SomeName%'). ...
Bruce W. Darby -
26 Dec 2006 7:18 AM - 17 messages
I've almost completed my little application for work. This weekend I've been working on Streams so I can write a logfile showing the work that was accomplished. Wanting to make each logfile programmatically unique, I decided to include the date that the log was written as a part of it's ...
Peter -
26 Dec 2006 1:43 AM - 3 messages
Hi, everybody, The codes below run under VS2003 for a long time. I want to upgrade it to VS2005. VS2005 gives me some varning messages such as "Varibles shouldn't be used before being assigned". My question is: Is it necessary to close sDa in my code? ...
lakepeir -
26 Dec 2006 12:33 AM - 3 messages
Hello, I am new to the Visual Basic language. I have written a program and would like to change the user interface. The plain form ui is so boring - Typical square gray background. Can anyone suggest a vb ...
Samuel Shulman -
25 Dec 2006 1:56 PM - 2 messages
Hi all, 1. How can I control the Font of the control? 2. Is there a way to change the BackColor of individual rows? Thank you Samuel ...
Marc -
25 Dec 2006 12:53 PM - 2 messages
Hi, I am setting up a orint function that prints the screen area. It is all working except my screen area spans two print pages hwne viewed using a print preview dialogue . I am trying to fnd a way to make the print ...
Wan -
25 Dec 2006 7:44 AM - 2 messages
According to MSN instruction found here [link] on how to add a Data Form Wizard in .Net 2005. However, after several tries I can't any find data form ...
polarbearvillage -
25 Dec 2006 12:44 AM - 2 messages
I am using Visual Basic 2005. Okay, I add items to a dropdown menu on a toolbar during runtime, and I when I click them, I need to shell the program that is associated with that one item (I have the program path figured out). Each item is in an ...
Learner -
25 Dec 2006 12:43 AM - 5 messages
Hello, I just wanted to jump on try creating a small calss in VB.NET in a note pad. And my class takes below lines of code Public Class Product Public Name as string Private m_id as string Public Sub New() ...
Connectcase -
24 Dec 2006 8:16 PM - 9 messages
Hi there, and greetings from the Netherlands. Trying to switch over from VB to VB.NET and struggling with something that seemed very simple: ============================ Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As ...
moti -
24 Dec 2006 7:16 PM - 7 messages
Whenever I use PrintDocument.Print() to print a page it goes to PrintDocument_PrintPage and stays there forever unless I set e.HasMorePages to False. When I set it to False it prints the page but is closes the print file. The effect is that it prints all my pages but creates a print ...
Tony Girgenti -
24 Dec 2006 5:55 PM - 25 messages
Hello. Developing a Windows Form program in VS.NET VB, .NET Framework 1.1.4322 on a windows XP Pro, SP2. Before printing a document, i want to set the font to a font that is only available with the printer that i am printing to(Zebra TLP2844). ...
Vadim Rapp -
24 Dec 2006 5:53 PM - 3 messages
Hello, I want to create a webbrowser object programmatically, navigate to a URL, and then analyze the document. I create the following code (simplified): Dim ie as new webbrowser ie.navigate "[link]" do while isnothing(ie.document) ...
Jeff -
24 Dec 2006 3:04 PM - 4 messages
In .net2 using VB (Visual Web), I have the following code that properly determines the column name from the column number (5 in this example) from a single row table. ColName = tempA.Table.Columns(5).ColumnName() I can't figure out the code to return the column number if I have the column ...
hadarmorchi -
24 Dec 2006 12:14 PM - 3 messages
hello fellows, does anyone have a code that do the following : Rename registry Key [folder/ branch]. Please, if anyone have a vb.net 2003 code sample 10x in advance Hadar ...
Master Programmer -
24 Dec 2006 4:29 AM - 18 messages
To all concerned I would like to give notice of my retirement from this group. Time dictates that I will can not continue to add helpful comments or to assist new users with useful advice any longer, so I am officialy ...
Annie -
24 Dec 2006 3:38 AM - 5 messages
hello guys, I am having a DataGridView control. The first column is a checkbox column. The users can select the checkbox column. I need to loop through the grid rows and get the checked checkboxes and the rows numbers I don't know how to check if the first column checkbox is checked??? ...
Dennis -
24 Dec 2006 12:03 AM - 6 messages
I have installed MySql and am trying to use it in VB.Net 2003 using the MyOleDb driver. However, from all I can find, MyOleDb only works on VB.Net 2005. Does anyone know if this is correct or is it supposed to work in ...
|
|||||||||||||||||||||||