Topics
-
-
- *Experts*
- 1 reply
- 663 views
Is there a way to output debugging information in UDF's so I can see the state of variables in various places?
Last reply by Nerseus, -
-
- 2 replies
- 1.9k views
I have a new project to build an asp site. This site will have files that can be downloaded. Can anyone help me on writing a download counter.
Last reply by Nate Bross, -
- 1 reply
- 493 views
I've been having some trouble firing up the new Object Test Bench feature in VS2005. I had it up and running yesterday, but now I can't seem to be able to get it to crank up again. All I did yesterday was right click on the class I wanted to test from the class view window and selected "Instantiate object". Then a whole bunch of great stuff happened and I was able to run individual methods with break points and the whole shebang. It was just like test driven .net but native. Anyway, that's all fine and great, but I can't figure out how go get it back. Any help is greatly appreciated. Are there tricks that I could have done accidentally and need to do again? I'm …
Last reply by mskeel, -
- 1 reply
- 670 views
If I make Dll for my project, is possible someone to "steal" it and use it from other application? Thank you.
Last reply by mskeel, -
- 0 replies
- 649 views
I have an an api that accesses an external time keeping device that I would like to use as a default value in an SQL Table column. I know that I cannot do it directly, but is there a way to write an SQL function/stored proceedure that can retreive a value from an external API?
Last reply by rmatthew, -
- 0 replies
- 666 views
I am after porting a 2003 Mobile Web Application to 2005, I have corrected all of the errors bar the following two: and I know that both the errors are the referring to the same thing. Any suggestions appreciated. Mike55.
Last reply by mike55, -
-
- Administrators
- 2 replies
- 1.8k views
In my web.config file I have a line that controls the timeout in minutes: <sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="data source=127.0.0.1;Trusted_Connection=yes" cookieless="false" timeout="180"/> This example is set for 3 hours. I noticed a setting in IIS today (properties>Configuration>Options) where the session state timeout is set to 20 minutes. Does anyone know how these settings work together? Do they have to be the same or does one override the other...? thanks.
Last reply by samsmithnz, -
-
- 2 replies
- 1.6k views
I have an editable data grid. When the user clicks the edit button I change a textbox to a dropdown so they can select a new value. I also add a js attribute to the save button so they get prompted for confirmation before commiting the save. This works well for me as I can inform the user of the state they are changing the value FROM before they commit. What I can't figure out is how I can get a handle on what they are changing the value TO before they commit. This is because my js gets bound with the grid, before the user chooses. I could put an auto post back on the ddl but that would be a little cumbersome I think for the user. If I could just get a handle on the d…
Last reply by VBAHole22, -
- 3 replies
- 856 views
I have a little online form that accepts an employee's first and last name and their selection of a class time from a dropdown. On submit, the form adds a new record to the "employee" table with the employee first and last name and then updates the "classList" table, adding one to the number of students registered to the class selected (since each class can only have 25 students). It is an Access 2003 database. The problem is the database hangs up. Somewhere in my code, I am not properly closing the connection. Needless to say, when enough people hit the database, it causes big problems on the server. I really need help!! Thanks in advance. Here is my code: If Pag…
Last reply by itagraham, -
-
- Administrators
- 3 replies
- 1.4k views
I am running a project in vs.net 2003 and in 2005, I am using the .gethashcode() to generate the hash value of my password which will be used in a comparison with the value stored in a database. However .gethashcode() from 2005 generates a totally different value from that of 2003. Has the hashing function been changed? and if so, how do I go about getting back the old hash values? Mike55.
Last reply by PlausiblyDamp, -
-
-
- Administrators
- 5 replies
- 1.4k views
Can someone please guide me to a link or an article describing how to make and use a DLL on a webpage. I wouldn't like to show the code when the webproject is sold (and deployed on the client's server), or perhaps there's another way to hide my code from the local IT dept.?
Last reply by PlausiblyDamp, -
-
- 0 replies
- 1.9k views
dunno whats causing this, i just went out to lunch and suddenly when i loaded my project it keeps showing this error "The state information is invalid for this page and might be corrupted." anyone has a list or something that might cause this so i could check each? for now im gonna try the solution from microsoft (generate a specific machine key)
Last reply by lamy, -
-
- Administrators
- 5 replies
- 931 views
In a stored procedure to use a replaceable parameter in a query I would build the query as a string, then use execute. This does not seem to work in functions, How could I perform the same query with a variable tablename Like SET @Query = 'COUNT(*) FROM ' + @TableNameVariable Select @VarNum1 = @Query Does not work because it trys to set the Variable @VarNum1 to a string not the result of the query. Is there another method of producing variable sql queries inside a UDF?
Last reply by PlausiblyDamp, -
-
-
- Leaders
- 3 replies
- 901 views
Hi: When I am using the designer in Studio .Net 2005, I get this irritating blue alignment line when I move a component in proximity to another. I assumed this was snap to grid, but I turned it off and the da@#$! thing still appears...I don't mind new stuff, as long as I can turn if off!! Anyone have a thought? Thanks! Eric
Last reply by ehelin, -
-
- 2 replies
- 776 views
I have found some examples on how to put a combobox in a datagrid using a class and a tablestyle (really don't understand how this thing works). The problem I'm having is trying to reference the combobox from the form to find out what the currently selected value is in the combobox embedded in the datagrid's column. Cheers
Last reply by FeelingCocky, -
-
- Administrators
- Leaders
- 5 replies
- 608 views
Hi I have been sitting here for hours trying to find some information on 2D arrays in VB.NET. Basically i would like to store data like this STRING INTEGER SIZE 24 10 then display it is a grid This array has to be dynamic as i dont know how many elements there will be. I would like to know is this possible? Will a 2d array do this if so where do i start from, ive tried coding some examples for myself but cannot manage to get it working. I look forward to a response thanks experts
Last reply by PlausiblyDamp, -
-
-
- Administrators
- 2 replies
- 733 views
hi, in .Net i have used 'Generate Managed Class' to generate win32_printer.vb how can i use this class to get all all the printer names on my computer? thanks
Last reply by sentme_mail, -
-
-
- Administrators
- 7 replies
- 2.2k views
Hi I am attempting to use the Rijndael algorithm for encrypting and decrypting sql server username and password. I have been successful in the generation of the key and the IV, and in the encryption and decryption of the data. My problem arises when I attempt to store the key and IV in an external location. Both the key and the IV are bytes(), I have a simple method that can convert the byte() into a string: private function convertToString( byVal data as byte()) as string dim enc as System.text.asciiencoding = new system.text.asciiencoding converttostring = enc.getstring(data) return converttostring end function I also have a function that converts the s…
Last reply by PlausiblyDamp, -
-
-
- Administrators
- Leaders
- 4 replies
- 2.2k views
Maybe I didn't try hard enough. But I really couldn't find any solution on the net. :confused: I am trying to include dotnetfx.exe into my setup.msi so if the target machine didn't has framework 2.0, the setup will install the framework automatically(not download from the internet) before install my program. So is there way to set this up? BTW, is BootStrapper already included in VS 2005? Thanks in Advance.
Last reply by PlausiblyDamp, -
-
-
- Administrators
- 1 reply
- 1.4k views
I'm concating a string together. Then using "indexof" to see if a particular string is in that concated string. I used the link below: http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=169&lngWId=10 ---This is what i have: dim tempCostIDs as string tempCostIDs = string.Empty ... tempCostIDs = tempCostIDs & "," & cost.CostTypeID & "," ... Dim Freight As String Freight = ",1," Dim r As Integer [b] r = tempCostIDs.IndexOf(Freight) [/b] If r > 0 Then 'do whatever End If -- I put a debug step. I see "tempCostIDs" has having ",1," in it but that r>0 fails . Howcome it c…
Last reply by PlausiblyDamp, -
-
Who's Online 0 Members, 0 Anonymous, 57 Guests (See full list)
- There are no registered users currently online