Topics
-
-
- Administrators
- 3 replies
- 834 views
I'd like to measure how many memory does my app take. How can I measure that? I know I can look at the task manager, but I'd like to measure it every 1 hour and put that value into database. So I'd like to measure it with .NET (it can be VS 2003 or VS 2005) tx, Matej
Last reply by mskeel, -
-
-
- Administrators
- 2 replies
- 1.8k views
hi the following code opens an oracle-connection, reads some tables to a dataset, adds or deletes somes rows... adding rows works fine. but trying to delete rows, i allways get DataSet.HasChanges=false. what am i missing? best regards george Dim pOracleConnection As OracleConnection Dim pCmdBuilder As OracleCommandBuilder Dim pDS as New DataSet Dim Table1 As OracleDataAdapter pOracleConnection.Open() Table1= New OracleDataAdapter("select * from table1", pOracleConnection) Table1.Fill(pDS,"table1") pCmdBuilder = New OracleCommandBuilder(table1) Dim pRows() As DataRow Dim pRow As DataRow pRows = table1.Select() pRow=pRows(0) table1.Rows.Remove(pR…
Last reply by ganders, -
-
-
- *Experts*
- 6 replies
- 1.2k views
Hi all, I'm trying to create a generic SQL query where it would retreive records based on the following: 1. All records have a date field for the entry date. 2. I need to build a query that retrieves records that have been there for more than 29 days. Any thoughts ? Thanks
Last reply by laredo512, -
-
- 0 replies
- 1.3k views
I posted this question in another thread, and I was suggested to post it as a separate thread to get more of an opinion on this: If I were to host a database server for external users in this example: 1 - The users use an application that connects to MS SQL for the DB operations the app requires to perform. 2 - The MS SQL server is off site at another office where it also doubles up as a web server. I was thinking of getting a Cisco Firewall unit and hard code their fixed IP to let them through... unless there's a way to have them use a secure channel ? What would be your opinion(s) on this? Thanks for any views on the matter
Last reply by laredo512, -
-
- Leaders
- 1 reply
- 2.4k views
I"m having dificulties with capturing sounds (a wav sound from the microphone), and saving them.
Last reply by snarfblam, -
-
-
- Leaders
- 7 replies
- 1.4k views
Here's my code that adds items (filenames) and subitems (file dates and size) to a listview control. The problem is that some of the subitems (file dates) don't get added (see attached image). I've removed my try, end try statements and no error. I step through the code and still no error. I'm totally Stuck. Can anyone help me? Dim BrowseFolder As New FolderBrowserDialog BrowseFolder.ShowNewFolderButton = False BrowseFolder.Description = "Select folder for LEFT list." BrowseFolder.ShowDialog() cmboLeft.Items.Add(BrowseFolder.SelectedPath) cmboLeft.Text = BrowseFolder.SelectedPath cmboLeft.Re…
Last reply by snarfblam, -
-
- 0 replies
- 1.3k views
Anyone know how to correctly draw an image in a datagrid column heading? Please... :o
Last reply by JLSEsq, -
- 1 reply
- 1.6k views
I do all of my development on our intranet server. I have a network drive mapped to the server and, in the past, I was always able to create a new project on the intranet server and go from there. Our intranet server had not been rebooted in a while. In between the time it was last rebooted and today, I had to change my network password (*ugh*). The server was rebooted a day or two ago and now, when I try to create a new project, I get this message: "Web Access Failed" With this error returned: "Unable to create web project 'blah'. Unable to create web location 'intranet.blah.com\webApp1'. Access is denied" Where are these permissions created? I have been working wi…
Last reply by lorena, -
- 12 replies
- 2.8k views
I am needing some direction. I am going to describe this as toys because I think that would be the easiest way. Sorry, this is gonna be wordy; better get out your pillow! :-) I have a large room that holds a lot of large boxes that will eventually hold an indeterminate amount of toys. While these toys are under construction, they have an indeterminate amount of prototypes. So: and so on. My thought is: 'VB.Net 03 Developer Public Class clsRoom Private listBoxes as ArrayList 'contains Box objects Private objBoxes as New clsBox 'Methods and Properties End Class 'clsRoom Public Class clsBox Private listToys as ArrayList 'contains Toy objects Private…
Last reply by alreadyused, -
- 0 replies
- 1.2k views
I wanted to use a gamepad for world of warcraft but it was not supported. So I did a search and found a couple of free programs. The problem is that they really dont have the kind of features I want. One has one feature, and another has a different feature but not in one package. So I want to develop a program to do that. I got down the basics of input using DirectInput. Now my problem is getting input from the game and work with it. Any ideas?
Last reply by Novan, -
-
- Administrators
- 2 replies
- 1.4k views
Hi all, I am trying to compile a solution on Visual Studio 2003. It succeeds, but when I execute it, I get a message error and the Application's window closes. On Visual Studio output window the following message appears: 'simpleTest2d.exe': Loaded 'D:\ARToolKit\bin\simpleTest2d.exe', Symbols loaded. 'simpleTest2d.exe': Loaded 'C:\WINNT\system32\NTDLL.DLL', Cannot find or open a required DBG file. 'simpleTest2d.exe': Loaded 'D:\ARToolKit\bin\libARvideod.dll', Symbols loaded. 'simpleTest2d.exe': Loaded 'D:\ARToolKit\bin\DSVLd.dll', No symbols loaded. 'simpleTest2d.exe': Loaded 'C:\WINNT\system32\quartz.dll', No symbols loaded. 'simpleTest2d.exe': Loaded 'C:\WINN…
Last reply by samsmithnz, -
-
- 1 reply
- 1.3k views
Am using the AXWebbrowser component in .net to open an excel workbook. How do I prevent the "What to you want to do with this, open or save?" message when the file loads? I know my user can select the Do not show this again option, but I want to suppress it the first time as well. Anyone have any thoughts?
Last reply by Pselus, -
- 2 replies
- 802 views
Dear, Someone I know has an access application. this app generates reports. He asked me to reprogramme it to .net. I will probably use a mysql database , but I still need to create reports. what is the cheapest/best way to do this in a vb.net desktop application? thx,
Last reply by dakota97, -
- 0 replies
- 1.1k views
I have to be doing something wrong When I do file IO, especially with ASP.Net but even in Windows apps, my first install is always a rights nightmare. I usually find that giving the ASPNet, Users user group and _IUSR or Network System user read, write and modify rights bulls through most of the errors, but then it is a manual change every time, and not something everyone is willing to do Do you guys usually emulate another user, or is there something that I have missed in the setup that installs the program with the proper rights to use it?
Last reply by TheWizardofInt, -
-
- Administrators
- 3 replies
- 2.1k views
I created an encryption class that has both an Encrypt and a Decrypt Function. They both work, except when I try to use the Decrypt function more than once in a row. Here is my decrypt function: [CS] public static byte[] RSADecrypt(byte[] DataToDecrypt, string key_file) { // Decryption is done using the private key. System.GC.Collect(); try { // Create a new instance of RSACryptoServiceProvider. RSACryptoServiceProvider RSA = new RSACryptoServiceProvider(); // Import the RSA Key information, which only needs to // include the public key information. System.IO.FileStream reader = new System.IO.FileStream( …
Last reply by grip003, -
-
- 1 reply
- 770 views
Just curious if anyone knows of any documenation sources on line or in book form relating to advice/information on creating and utilizing user groups in software development. If anyone has information relating to this, I would appreciate your input.
Last reply by irasmith, -
-
- Administrators
- 3 replies
- 964 views
Is it possible to create a Foreign key on part of a field in MSSQL? i have a field that is a delimited list of values contained in another table that i would like to establish a relation...
Last reply by Joe Mamma, -
-
-
- Administrators
- 1 reply
- 1.1k views
I am experiencing the following error: VS 05 fails to specify where in the project the error is occuring, I am making the assumption that the problem is to do with a reference either being broken or not existing. Appreciate any suggestions on how I can identify the reference. Mike55.
Last reply by PlausiblyDamp, -
-
- 1 reply
- 579 views
Hi, I have some troubles with my remote objects. My "middleman" looks like this Public Interface iMyProperties Inherits IDictionary(Of String, IProperty) End Interface Public Interface IProperty ReadOnly Property Properties() As Specialized.ListDictionary WriteOnly Property [Property]() As DictionaryEntry End Interface In the server I have a class marshaled that implements iMyProperties, one of my classes contains numeric only ListDictionary that implements IProperty.Properties and receiving it in the client as a ListDictionary is no problem. Another class has Strings in the ListDictionary and if I have more than one item there I get a Serialization…
Last reply by kejpa, -
-
- Administrators
- Leaders
- 3 replies
- 802 views
How do I do this in Visual Basic .NET? I have this code: dim a as integer = 1 dim pointer as object ="a" msgbox pointer I want that the result will be the value in variable A. Thank you. Maxpic55
Last reply by snarfblam, -
-
Who's Online 0 Members, 0 Anonymous, 52 Guests (See full list)
- There are no registered users currently online