Topics
-
- 1 reply
- 1.4k views
I have a device that is addressable via a browser by going to its IP. Example 199.199.199.10 gives me a configure page, much like a DSL router, that I can use to setup the device. Using Ethereal I can see the communications between my computer and the device. All of the communications between the device and my computer are HTTP and TCP packets. Where do I need to start to build a C# application to execute the configure commands automatically instead of the user clicking through the browser to setup the device? I am just looking for someone to point me in the right direction. Is this even possible? Thanks MT
Last reply by Gill Bates, -
- 1 reply
- 1.7k views
I'm a former C++ programmer, and I'm not used to events (unless they existed in C++ and I didn't know, in which case I never used them). Anyways, in a DirectX program, their seems to be two main objects that create events: the window (form) and the Direct3D device. Usually, you "Application.Run(theWindow)", and I've been doing my Direct3D updating in the "Application.Idle" event. So, I'm curious, how are all these events usually controlled by DirectX programs?
Last reply by Grasshopper-NET, -
- 1 reply
- 2k views
Hi, I'm trying to develop a voice recognition system that will be able to compare the user's voice with a recorded file. What the user does is try to imitate the recorded file and the system should compare the user's record with the file. Can this be done with DirectSound? and How? P.s the recorded file is in mp3 format. Thanks
Last reply by Grasshopper-NET, -
-
- Leaders
- 14 replies
- 2.3k views
Cliffnotes Background: I've had this site, vbProgramming, up for a while. I mean there's a sizable collection of tutorials related to game programming with VB.NET there. The site was pretty active last year. Now: I'm writing a book about this very topic, a pretty big portion (about 1/4) of the content is already contained on my site. It's a daunting task, but I'd make some cash and look really good on college apps. Insetad, should I make this an open source book (WikiBook, OurMedia, CreativeCommons, etc)? The problem is, I'd need a large userbase, which I don't have anymore. Any thoughts and opinions would be appreciated. Not Cliffs: ------ It's all a…
Last reply by Nate Bross, -
-
-
- Administrators
- Leaders
- 9 replies
- 1.3k views
I have a couple of developers having a "discussion" about which is the more efficient way of doing string concatination... :-\ And when I say efficient, I mean "faster execution" wise. '#1 sVar = "This is some text " sVar += "and this is some more text " sVar += "...etc..." & someVar & " some more text" '....etc. on for a thousand lines... '#2 sVar = "This is some text " & _ "and this is some more text " & _ "...etc..." & someVar & " some more text" 'And every so many rows, 40 or 50?, add to it like so... sVar += "and another 40 or 50 so lines of text." & _ Now imaging this type of coding with a thousand lines inst…
Last reply by Agent707, -
-
-
- Administrators
- 2 replies
- 1.6k views
I am looking for a way to globalize the resx files for localization purposes. Like adding a reference to the Data Access Application Block ... Not in the App_Globalresources folder in my project. Right now, I have several apps that have three language resx files. English, Spanish, Italian. I have has been successful just copying each of the lang files into the new project. I would rather have a central resx file that I reference or include somehow into each project versus copy. Maybe something that could be setup in the GAC if I am thinking correctly .... Any Ideas
Last reply by scaldwe, -
-
- 6 replies
- 1.5k views
Okay...I've modified my original code so that I now have two datagrids. One is for the information that I am pulling from the database that is constant for every instance of information. The other is for information that varies from instance to instance. I've gotten the first database to where it is pulling the correct information and I wrote the code so that it filters the info for the second datagrid by using the "PruID" pulled into the first datagrid. However, when I run the code, I get a blank datagrid for the second one. Here is the code for the click event: Try Me.SqlSelectCommand1.Parameters.Add("@PermitNum", SqlDbType.VarChar) Me.SqlSe…
Last reply by bungpeng, -
I have a site that uses a Master page On that site, I have a page that uses a datagrid to take data entries Part of the footer on the datagrid is a button that pops up a calendar. Clicking on the calendar causes a postback of the date selected to the page with the datagrid All of that works Now, I have the post back, and I have the date and I want to put it back into a text field, in the footer of the datgrid. Using datagrid.item.findcontrol doesn't work because, of course, the footer isn't an item I tried to do a javascript statement using clientside register script block, and it can't find the field by id. Yes, I am aware that the master page concato…
Last reply by scaldwe, -
- 1 reply
- 1.1k views
I have been using Server Explorer in Visual Studio 2005 quite happily for about a year now. This morning I tried to launch it from the View menu and nothing happened. I just cannot seem to get it running.... The databases are up and running on the server and I can connect to them using SQL server management studio.
Last reply by Roey, -
- 2 replies
- 3.2k views
Hi, hope some experts here can help me solve my small problem. I have a Repeater with e.g. columns A, B, C, D. D is extracted from a field that determines whether that row has been validated. So, by default, D will be empty if it is a newly created item. My problem is, I would like to hide D when it is a new item. Only to show D when this row has been validated. I would also like to hide it's header too. I can do this in GridView, but not sure how to in Repeater and I definitely has to use Repeater. This is what I have done in GridView, hope someone can give me an idea how to do it in Repeater. Thanks in advance!
Last reply by scaldwe, -
-
- Leaders
- 8 replies
- 20.5k views
VB .Net 2.0 question. I'm using the BackgroundWorker Component on a form. Everything works great, except for updating the status strup progress bar and canceling all work in the background worker thread. Basically, I want to kill all thread operations when the user clicks a cancel button. Accouding to the API, the best that the BackgroundWorker has is a RequestCancel which then flips a boolean (CancellationPending) to true. It is then up to the user to determine what action to take. From hunting the web, the best I can tell is that the intended action is to check if the thread has been cancelled and then ignore updates and let the thread terminate on it's own. S…
Last reply by mskeel, -
-
- 0 replies
- 939 views
Hi, I have a webpage that uses xml in an AJAX fashion. When I point it at a static xml file it works fine. When I create the xml dynamically in vb.net framework 1.1 (MS Visual studio 2003) there is a problem. When I try to open up the page in ie with the javascript I get a null xmlDoc. I can call the page directly from the browser and it returns the xml ok. I then save the source as a static xml file, point page with the script at it and the javascript reads it in fine - so the xml itself seems to be fine. It also works fine in firefox. Any pointers much appreciated. Blow is the code used to generate the xml. ============================== Re…
Last reply by metamind, -
- 1 reply
- 3.3k views
can anyone tell me how to make a system wide hotkey in j#???? ... and if you can, i would appreciat it if you would put it into sample code.. please please please tell me this is possible... much thanks to everyone if you can help me :confused:
Last reply by worthless_skate, -
-
- Administrators
- Leaders
- 5 replies
- 10k views
.Net 2.0 question. I've got all my heavy operations cranking in a worker thread but I want to display occasional updates to the user through a progress bar in the status strip on my form. The problem is that updating the progress bar from the WorkerThread's update event throws an unsafe update exception becuase the owner of the progress bar is someone other than the thread it is being used from. I found this code to safely update a control across threads, but the status strip version of the progress bar doesn't have the InvokeRequired method. What's another method for safely updating across threads or am I going about this all wrong?
Last reply by snarfblam, -
-
- 1 reply
- 4.2k views
i need to validate a txt box with a password my current reqular expression validator is set to [a-zA-Z0-9_@&%$#!]{1,35} This allows all small and capital letters, all digits and characters _@&%$#! and from 1-35 size wise. What i need to do is change it to >=8 and <=35 total characters contains at least one small letter contains at least one capital letter contains at least one digit contains at least one of the special characters
Last reply by mskeel, -
-
- Administrators
- 2 replies
- 1k views
Hi all Can anyone recommend an alternative reporting tool that can be easily intergrated with visual studio.net and that is also capable of displaying dynamic images? Mike55.
Last reply by mike55, -
-
- 1 reply
- 1.1k views
toolbar How do I in C# ASP, make a toolbar that is always visisble how matter how many aspx pages I have. Do I have to make the same toolbar at all the aspx pages I make ??
Last reply by Nate Bross, -
-
- Leaders
- 5 replies
- 2.1k views
I have two problems with my code for a CheckedListBox. I have a sub that checks to see if an item in a CheckedListBox is checked. If it is it's supposed to copy the corrisponding file to a folder. See code below. Problem #1 I get an IndexOutOfRangeException error at line: clbText = CheckedListBox1.CheckedItems.Item(i) Problem # 2 After the file is copied I want the checked item to become unchecked. Here's my code. Thanks. If Me.CheckedListBox1.CheckedItems.Count > 1 Then Dim clbText As String Dim i As Integer For i = 0 To CheckedListBox1.Items.Count - 1 If Me.CheckedListBox1.GetItemCheckState(i) Th…
Last reply by bjwade62, -
-
-
- Administrators
- Leaders
- 3 replies
- 2.9k views
Does anyone know how to keep a threading.timer from being garbage collected? The timer works fine and mutiple threads are usually running without any problems, however, when the GC is executed the timers are disposed of. Anybody have any ideas? Dim timerDelegate As Threading.TimerCallback = AddressOf Me.SendFaxResponse checkInboxTimer = New System.Threading.Timer(timerDelegate, Nothing, 60000, 20000)
Last reply by snarfblam, -
-
- 1 reply
- 1.2k views
Hello everyone, does anyone know if there is a way of copying from a database to a variable without putting it in a dataset to view it on the form i dont want the user to view it on the form. i know that in vb6 you can do somethin like this: variable = adodatabase.recordset.fields("xxxx") with that code it puts it straight onto the database and nowhere else. does anyone know if there is a way???
Last reply by grip003,
-
Who's Online 0 Members, 0 Anonymous, 47 Guests (See full list)
- There are no registered users currently online