Topics
-
-
- *Experts*
- 1 reply
- 702 views
The .Net package from Microsoft contains 4 or 5 really nice posters that can be placed on a wall. These posters document the classes, show multi-tier development processes, etc. Does anyone have an MSDN link to find/buy copies of these posters? tia, flynn
Last reply by Nerseus, -
-
-
- *Experts*
- 3 replies
- 894 views
I am trying to alter a column within a table and set the default value to 0: I am using SQL Server 2000 here is what I am using (it gives 'incorrect syntax near DEFAULT') alter table chronology alter column oper_id numeric(10,0) set default 0 not null
Last reply by Nerseus, -
-
- 1 reply
- 4.8k views
I need help calling a public sub on a form running on a worker thread from the main thread. I think I need to use a delegate, but I've no idea how to declare or call a delegate. I've created a form with one simple sub... Public Sub Set_Prompt(ByVal Use_Prompt As String) Me.Prompt_La.Text = Use_Prompt End Sub I create a worker thread which shows the form, and I can close the form from the main thread using this code... Imports System Imports System.Threading Module WaitLib Dim WaitMsg_Win As WaitMsg = Nothing Dim Msg_Thread As Thread Dim Thread_Running As Boolean = False Dim Use_Msg As String Private Sub Show_WaitMsg() WaitMs…
Last reply by tfowler, -
- 0 replies
- 1.4k views
Hi there ppl, I have this bit of code: How do I reference the node that's being hovered, so I can parse it to the function that's going to show the tooltip? Thanks.
Last reply by appletonrd, -
- 1 reply
- 1.8k views
Because I have customerize my DetailsView control by "edit template", I need to convert the field (it is seven checkboxlists) to a string value. So I write up some a function to handle ItemUpdating event: Sub DetailsViewUpdateing(ByVal sender As Object, ByVal Args As DetailsViewUpdateEventArgs) Handles DetailsView1.ItemUpdating Dim abc As DetailsView abc = sender HiddenScheduleStringA.Value = Convert24ChkBoxToString(abc.FindControl("ChkBoxListSchedule1"), abc.FindControl("ChkBoxListSchedule2"), abc.FindControl("ChkBoxListSchedule3"), abc.FindControl("ChkBoxListSchedule4"), abc.FindControl("ChkBoxListSchedule5"), abc.FindControl("…
Last reply by legendgod, -
- 6 replies
- 3k views
Hi all I have a dropdownlist that can have upto 400 or so items in it. I wish to use something list autocomplete to search through this list. i.e. Type 'a' and get the first A in the list, type 'ae' and get the first 'ae' in the list I know this is not possible without using Java script. Does anyone out there have an example of this script and how to use it. thanks ZuBiE
Last reply by Rea, -
- 0 replies
- 671 views
How would one find out if a row is set as rowguid? coupled with that I need to locate the constraints (including expression) in effect for a table.
Last reply by rmatthew, -
-
- Administrators
- 6 replies
- 975 views
Hi there, I am using th DateTime.Parse function to check if a datestring is valid. But when I type in "12", this is also validated as a valid datestring. the only datestrings that i want to be validated true are 1-1-2005, 01-9-2005, 31-12-2005, all others like 12-2005 or 07-05 for me are not valid dates. Could someone please help me on the way.. Thanks, Feurich
Last reply by feurich, -
-
-
- Leaders
- 1 reply
- 484 views
say i have a 5 digit number like 10001, and i divide it by 100, the result would be 100.01, a decimal, how would i divide it to get a remainder instead of a decimal??
Last reply by snarfblam, -
-
-
- Administrators
- 4 replies
- 875 views
Right this is for one of my mates as he is doing a web based project in asp.net and all i know about is windows applics made in vb.net... so i said i would post it for him! As you can see he is at the end of his teather and I couldnt help him... so if any of you can, it would be much appreciated! Cheers Hygor
Last reply by PlausiblyDamp, -
-
-
- Administrators
- 1 reply
- 770 views
Hi, I have developed an ASP.Net (1.1) application. It uses Windows Authentication. I have a database that contains a USERS table that list all the users that have access to the application. In the Session_Start sub I read the Request.ServerVariables("LOGON_USER") variable and check the USER table for this username. If the username doesnot exist in the USERS table i redirect him to a webform (UserError.aspx) that displays a message that he doesnot have access to the system. In the page Load of this form I call Session.Clear() and Session.Abandon(). This seems to work fine , but with one glitch. If the user access the application for. e.g. http://server1/App1/Defa…
Last reply by PlausiblyDamp, -
-
-
- Administrators
- 2 replies
- 713 views
How would I go about converting the following code to .Net. Sub ReadToBinary(ByVal F As Long, fld As ADODB.Field, _ ByVal FileSize As Long) Dim Data() As Byte, BytesRead As Long Do While FileSize <> BytesRead If FileSize - BytesRead < BLOCK_SIZE Then Data = InputB(FileSize - BytesRead, F) BytesRead = FileSize Else Data = InputB(BLOCK_SIZE, F) BytesRead = BytesRead + BLOCK_SIZE End If fld.AppendChunk Data Loop End Sub
Last reply by kcwallace, -
-
-
- *Experts*
- Leaders
- 6 replies
- 1.7k views
What's the best way to strip an extension from a filename? If I have the string MyString = "MyFile.txt" , how can I get just "MyFile"? I know this is an easy one, but I'm fairly new to VB. Thanks...
Last reply by Nerseus, -
-
-
- *Experts*
- 2 replies
- 1.1k views
I'm trying to create an asp.net solution where users can upload a file to my web server. I then detect the upload using a filewatcher on another machine that watched the network path. This other machine, the app server, works on the file and produces an output file that gets dropped back on the web server and the user is free to download the results. I have this up and running in my development environment and it works well. My problem is that I have spoken to several folks in the IT sector that have told me that no sane organization would ever allow me to deploy an application like this. They claim that there are too many security implications involved in file upload.…
Last reply by Nerseus, -
-
-
- *Experts*
- 1 reply
- 745 views
I am attempting to execute the following: alter table chronology alter column rec_tmstmp drop not null; give the following: incorrect syntax near the keywork not Any ideas on the syntax to alter a column and make it nullable?
Last reply by Nerseus, -
-
- 0 replies
- 1.3k views
Hi, I'm trying to make a OSD (On screen display), I've got one to work, or, you can't watch the movie when I have that. It starts lagging and freezing. I'm programming in VB.NET and using DirectX9 to make this things. I was wondering if anyone of you had a clue how to solve it? Or anywhere I can read about it? It's a box I'm drawing in the bottom of the screen with some information like; duration, start/stop/pause buttons etc... I'm rendering the movie in fullscreen. / Marcus
Last reply by Icanos, -
- 1 reply
- 1.3k views
How do I change the database source in a crystal report from the visual basic.net application that is calling the crystal report? Any help offered is greatly appreciated.
Last reply by pendragon, -
- 0 replies
- 1.7k views
Hi all, Can any one recommend any good open source based stress testing and performance testing tools. Here are the ones that I have come across so far, they are not all open source tools: WAPT - http://www.loadtestingtools.com Web Application Stress Tool (WAS) - microsoft Microsoft Application Center Test - microsoft Webserver Stress Tool - http://www.paessler.com/webstress MaxQ - http://maxq.tigris.org/ Mike55.
Last reply by mike55, -
- 3 replies
- 3.1k views
Hi there, I'm seeking a class that can allow me to write a c# windows app that will send/receive email via hotmail.com and the http protocol. I've found examples out there that do so, but without attachments (using webdav commands)... Is there any way to achieve the ability to read attachments and send emails with attachments? Thanks
Last reply by OMID SOFT, -
- 4 replies
- 4.8k views
my forms takes a while to load because it needs to select a huge table. thereform, i want my forms to display a "wait..." messagebox: inside the load function, a messagebox is display in the beginning, and automatically close by itself right before the load function ends. the "wait..." message box also includes a button called "cancel", that when the user is out of patience they can click it and terminate the form. i made this working by using a new thread and calling delegate functions in the main thread. i just wonder how others are handling this issue. furthermore, i wish i can have a thread that loads each section of data into different tabpages. that will gre…
Last reply by Nate Bross,
-
Who's Online 0 Members, 0 Anonymous, 60 Guests (See full list)
- There are no registered users currently online