Groups | Blog | Home


Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
all groups > vb.net > august 2005 > threads for thursday august 11

Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31

Acessing pointers from capSetCallbackOnFrame (avicap32.dll)
Posted by Workgroups at 8/11/2005 8:32:01 PM
I'm writing a piece of video software, sort of like a webcam, that's meant to show a preview on the screen from any WDM capable cam. I want to give the user RGB sliders, and process each frame by running it through a color matrix before it's displayed on the screen. So far I've succesfully...more >>


Help with registry permissions
Posted by russ NO[at]SPAM russ.net at 8/11/2005 7:48:38 PM
I'm a very noobie to VB.NET, just went through the Microsoft Intro class. I'm trying to write a simple app that connects to a remote PC and makes a modification to hklm\software\microsoft\windows nt\currentversion\winlogon However, it always gets a "System.UnauthorizedAccessException" "Can...more >>

Editing a cell in ListView
Posted by Jerry Spence1 at 8/11/2005 7:23:31 PM
Does anyone have any code for floating a textbox or combo over a cell in ListView to simulate a cell edit function? Thanks -Jerry ...more >>

VBC
Posted by Paul Ilacqua at 8/11/2005 7:05:02 PM
I all of a sudden lost my abilty to compile using VBC.EXE. what are the required files to use this handy command line tool. Thanks Paul ...more >>

SQL query from ASP page
Posted by Daniel Seipel at 8/11/2005 5:14:05 PM
I'm new at ASP and I'm trying to query an MS SQL database (Northwind). I want the page to be setup with a textbox where the user inputs a list of comma separated numbers and the query would be something like: select * from categories where categoryid in ('1','2','3','4','5') and the resul...more >>

Change the color of part of an image
Posted by Dave Wurtz at 8/11/2005 3:01:04 PM
All, I have an image (bitmap) that I want to change all of the blue pixels to red, for example. Is this possible to do? Thanks in advance! Dave Wurtz ...more >>

Really fast method to check if host is online???
Posted by Terry Olsen at 8/11/2005 2:58:21 PM
I have a list of pc names that I need to go out and pull information from. If they are all online, great! But when a PC is turned off (not online), the program hangs for a good 40 seconds before moving on. Is there a way for me to quickly see if a host is online or not? I'm hoping for someth...more >>

Delphi 4 & VB.NET, don't play nice??
Posted by Arthur Dent at 8/11/2005 2:40:07 PM
Hello all, Im stumpped. I have a small app i wrote in VB.NET which takes in a file name, and a bunch of other params, runs the file with the params, and then exits. At the end of the program, it can optionally echo back all the params it received in a msgbox. When the app is run from a co...more >>



Transparency, ASP.NET, and GDI+
Posted by Nathan Sokalski at 8/11/2005 2:36:48 PM
I am trying to create graphics with GDI+ that include transparency. However, the transparency never seems to show up, even though my colors have an alpha value of 0. How can I generate a graphic that is completely transparent in certain areas (so that the web page background shows through)? I ...more >>

Hiding tabs on a FormControl
Posted by RSH at 8/11/2005 1:59:13 PM
I am trying to upgrade an old VB 6 project to .Net. One of the things this application has is a series of 6 tabs in a tabcontrol...BUT the tabs themselves arent visible when you run the application...instead the only way to go from one tab to the next is programatically. I have looked throug...more >>

sockets
Posted by bbdobuddy at 8/11/2005 1:58:03 PM
Hi, I have a problem. I am trying to connect to a port so that I can send inforamtion through that port to something else. I thought sockets was the way to go but I don't know how to accomplish this task. Thanks Brian ...more >>

Displaying collection in a winform datagrid
Posted by Michael Kellogg at 8/11/2005 1:40:25 PM
I have a collection of objects that I am trying to display in a Windows Forms Datagrid. I have had problems doing this before, so the first time around I went and did a Grid.TableStyles.Clear before naming my collection as the DataSource. In this scenario, the collection's members come up ...more >>

Primary Key column show null in DataGrid
Posted by travlintom NO[at]SPAM yahoo.com at 8/11/2005 1:14:22 PM
Hi all. I have a datagrid that has several columns including the Primary Key as the first column. When I add records to the grid the Primary Key column show "Null". This would not be a problem, but I want my users to be able to delete the column right away if they made a mistake with the en...more >>

any project example to clean up clsID and classes etc for registry
Posted by jg at 8/11/2005 12:33:27 PM
as a learner, I made many mistakes in developing classlib and com component from a number of failed.dotnet projects. Now I end up severely cluttered registry of useless entries. I wonder if there is a project out there that I can use to clean up based of application ID like Someclass.* ...more >>

SQL Select problem
Posted by Amjad at 8/11/2005 12:07:41 PM
Hi, I have written a program that reads certain rows from a table in a local JET database file. I use SQL strings to select the rows that I want to read. Everything works fine on my development computer and all the SQL strings in the program return the desired rows from the database. but wh...more >>

Regex Issues
Posted by Mike Labosh at 8/11/2005 11:46:36 AM
I have the following System.Text.RegularExpressions.Regex that is supposed to remove this predefined list of garbage characters from contact names that come in on import files : Dim _dropContactGarbage As New Regex( _ "([" & Chr(0) & "-" & Chr(31) & "]+)|" & _ "([" & Chr(33) ...more >>

DUMB Module question
Posted by RSH at 8/11/2005 11:31:08 AM
I have create a simple module and a couple forms. I have it set to run the module when the application starts. Several variables are set and then a form object is instantiated and displayed. The problem is that the application doesnt pause when the form displays...instead it simply quits ...more >>

String.Format used to make columns
Posted by **Developer** at 8/11/2005 11:28:15 AM
ControlRichTextBox1.SelectedText = String.Format("{0} {1}", strExt, x.szTypeName) & vbCrLf Three questions: 1) How can I insert a tab between {0} and (1} so the richtextbox tabs x.szTypeName into a nice column? 2) How can I insert spaces so as to line up x.szTypeName into a nice col...more >>

Findrows doesnt appear to be working on multiples
Posted by RSH at 8/11/2005 11:18:08 AM
I have a situation where I am filling two datasets and I need to print out the names that appear in both datasets. I initially converted them to dataviews, sorted on last name and performed a dataview.find on the view. This indeed found the people that appeared in the two seperate databases ...more >>

Date assembly
Posted by pmclinn at 8/11/2005 10:25:51 AM
I have data stored in an array in this format: Str(0) = "AUG" Str(1) = "10" Str(2) = "13:44:38" (24 Clock) I need to re-assemble this into a valid date variable. What is the best algorythm to do this? Right now I'm converting AUG to an 8 and then 10 to a day and assuming that the year is...more >>

Which control is best to repesent this
Posted by romy at 8/11/2005 10:13:13 AM
Hi I have a list of orders which currently Dispalyed on a Datagrid. Now, I want to add functionality to the user of selecting one or more orders. How do I enable choosing one or more records ? ...more >>

Merge a string doesn't work
Posted by vodafone at 8/11/2005 9:58:09 AM
I've some problems while merging a string retrieved from a stream and re-built with the encoding. To be short. The first time string will be concatenated, all works fine, from the second time, it get only the first string ... the second part won't never added, and I really don't understand the...more >>

New to distributed components: query
Posted by Ian at 8/11/2005 9:56:06 AM
I am working with Distributed Components with VB.NET for the first time (pretty much), and am having the following problem. My components have been added and are visible in component services manager. They have also been added to the GAC. On seeking to set a reference to these components on...more >>

System.Xml.XmlException: The root element is missing.
Posted by marcmc at 8/11/2005 9:44:02 AM
The code is below but I'm 99.9% sure that the code is okay and that maybe the schema has become corrupt somehow and im not sure how to fix it? Private Function LoadXMLSchema() 'Dim fileName As String = "C:\Documents and Settings\marc.mcguckian\My Documents\Visual Studio Projects\M...more >>

Problems with WEBDav
Posted by Brett Smith at 8/11/2005 9:35:38 AM
I know that this probably isn't the best place to post this but I already posted it in the exchange.devolopment group, and have not gotten any responces, so I thought that I would post it here. I am having trouble accessing exchange via a WEBDav SEARCH query. I am getting the OWA Frameset p...more >>

Newbie: Form Load Control Issues...
Posted by The VanDerbeck Group at 8/11/2005 8:59:47 AM
I have a very simple app that has one form (form1) and on the form is a progressbar (progressbar1). My issue is when the app runs, the progress bar beging updating before the complete form is loaded (i.e. I see the progress bar fillin in, and the title bar of the form, but the rest of the for...more >>

Manipulating records from dataset
Posted by Jean Christophe Avard at 8/11/2005 8:44:22 AM
Hi! I am designing an application, and I need some pointers. I have a database that has 5 tables: a table "Items" and 4 other table that has relationship to "Item". I have to retreive all the records, and browse through it. I know how to populate a dataset with all the records, but what I ne...more >>

Newbie ShowDialog query...how to close the modal dialog
Posted by LCAdeveloper at 8/11/2005 8:23:02 AM
Sorry for another query, but I'm have trouble handling a simple modal form. The form (Form2) has only one textbox and two labels on it and I can show it modally by including the following code in a button click event: Private Sub Button1_Click(ByVal....) Dim testDialog as New Form2 test...more >>

Currency Math in VB.NET
Posted by Mitchell Vincent at 8/11/2005 8:17:12 AM
Just making sure I'm not missing the boat here, but are there any special routines for doing currency math (fixed precision stuff) in .NET? The wonderful problems of doing math on decimals tend to shine when writing accounting software :-) How are others dealing with this? -- - Mitche...more >>

XML
Posted by marcmc at 8/11/2005 8:15:03 AM
Come on someone must have experience of writing code in .NET to encrypt the content of a simgle XML File Element. The code I've found on the web is rubbish. This is the final and very last thing I am doing with this application so please contribute as much you can and I promise I'll buy you a...more >>

copying code of event of user control automatically
Posted by manojrane2000 NO[at]SPAM gmail.com at 8/11/2005 7:31:03 AM
hi, how can i copy code of event of usercontrol in form on which it is placed automatically. whenever control is dragged to the form. ...more >>

Newbie RaiseEvent query
Posted by LCAdeveloper at 8/11/2005 3:55:23 AM
I have a RadioButton which executes some code on its MouseDown event. I would like to use the same RadioButton's KeyPress event to trigger its own MouseDown event when the Enter Key is pressed. I naively thought the following would work: Private Sub RadioButton7_KeyPress(ByVal sender As Ob...more >>

progressbar in popup
Posted by Sam at 8/11/2005 1:17:29 AM
Hi, I have to process a large data loading in my form. In order to give a feedback on the loading status, I'd like to display a progressbar in a popup, in the middle of the screen. How can I do that, as the progressbar is not in the same form as my data structures? Thx ...more >>

Using one single-application connection vs. one connection for every operation to SQL-Server via ADO.NET
Posted by Sebastian at 8/11/2005 1:09:04 AM
Dear members, I'am thinking about the "best" way to connect to my sql-server via ADO.Net (if there is a best way). My application uses the sql-server very intensively. At the moment every database-operation opens a connection, executes and then closes the connection. Another way would be...more >>

managing records in a combobox
Posted by Sam at 8/11/2005 12:42:54 AM
Hi, I have a datagrid which contains a combobox column bound to a datatable(I'm using VS2003 but it's a custom control). For each of the combobox I would like to achieve the same behaviour as for the font selector in word, that is the most recent chosen fonts are added to the top of the list. ...more >>

Documents in Database
Posted by Q at 8/11/2005 12:00:00 AM
Hello you all, I want to store all kind of files (pdf, doc, xls, txt) in a database. This is no problem. The real problem is opening the files from within a .Net application. I tried several ways to do it: 1. Creating an object of e.g. word to open a document. 2. Taking care of the proble...more >>

open .NET shell programmatically
Posted by Boni at 8/11/2005 12:00:00 AM
Dear all, is it possible to open .NET shell programmatically? Thanks, Boni ...more >>

Textbox WebControl
Posted by biz via DotNetMonster.com at 8/11/2005 12:00:00 AM
Please Help Me.. Is there anyone who knows how i can make a Custom WebControl Textbox, which can take my native Language (Farsi) on a webPage. I can do that very easily on a windows Form, but how can i do that on a Webpage. On Windows.... InputLanguage.CurrentInputLanguage ...more >>

Catching Click Events on a Custom Control
Posted by Mac via DotNetMonster.com at 8/11/2005 12:00:00 AM
Hi all, In my VB windows application, I have created a User Control that contains a few buttons and a text box. This control is then placed on several forms. What I would like to do is capture the click event of each specific button within the control at the form level, but I am not sure how...more >>

computer sleep and db connections
Posted by Brian Henry at 8/11/2005 12:00:00 AM
How would you guys handle this? We have an app that needs to keep an open connection to a SQL 2000 Server, (no it cant be disconnected because of what we are doing uses it so frequently, its a waste to constantly connect and disconnect every other second littearly)... but we have some systems ...more >>

Print an image file from VB
Posted by S Shulman at 8/11/2005 12:00:00 AM
Hi I am looking for sample code to print an image file from VB code image can be .jpg, .bmp etc. Thank you in advance, Shmuel Shulman ...more >>

Textbox Handle
Posted by Saber at 8/11/2005 12:00:00 AM
How to get text box handle from an external application? I mean textbox is not in my form(s). TIA for your reply -- Saber S. http://maghalat.com ...more >>


DevelopmentNow Blog