Topics
-
- 4 replies
- 829 views
I am able to create a table using ADOX, but not able to change the property of each column. By default all the columns have Required=Yes. but I want to change it to No. Please let me know how to do?
Last reply by FZelle, -
- 0 replies
- 1.3k views
I am making a card game, like patience/solitaire and having a problem with how I shall move the cards. At first I draw the cards with cards.dll but I dont know if its a goodd idea. I want to move a card, and then be able to compare the card against another card, and then I need to somehow get the data to be able to compare them. I´ve seen examples with cards on top of a button, but it didnt seemed like a good idea. I want to be able to move around my cards anywhere on the screen and then be able to locate a card when it has been moved/clicked. Perhaps someone has a idea of how to approach this, or some useful links. :confused: /lindis
Last reply by lindis, -
- 0 replies
- 1.6k views
Hi! I need to know how can I show a CollectionBase's items on a PropertyGrid. I don't want to edit it, as usual, on the Collection Editor, instead, I want to show the items as a tree. Typed Collections behave like this, letting us edit them with the Collection Editor but also displaying its items in this form. Thanks. Alex :p
Last reply by AlexCode, -
-
- *Experts*
- 2 replies
- 908 views
I want to stop IE from using autocomplete on my application, and all the user to start typing in a record number and then scroll through the records starting with the numbers the user entered into the text box. Or should I create a drop-down list.
Last reply by Joe Mamma, -
-
- 1 reply
- 888 views
Hello, I am having a problem.. I upload this web.config to my website: <?xml version="1.0" encoding="utf-8" ?> <configuration> <system.web> <!-- DYNAMIC DEBUG COMPILATION Set compilation debug="true" to insert debugging symbols (.pdb information) into the compiled page. Because this creates a larger file that executes more slowly, you should set this value to true only when debugging and to false at all other times. For more information, refer to the documentation about debugging ASP.NET files. --> <compilation defaultLanguage="vb" debug="true" /> <!-- CUSTOM ERROR MESS…
Last reply by trend, -
- 6 replies
- 1.6k views
Hi All, I have this function as shown below: Private Function getDimensions(ByVal bigMeasurement As String, ByVal smallMeasurement As String) As Int32 Dim measurement As Double Dim strMeasurement As String If smallMeasurement = "0" Then measurement = Convert.ToInt32(bigMeasurement) Else strMeasurement = bigMeasurement + "." + smallMeasurement measurement = Convert.ToInt32(strMeasurement) End If Return measurement End Function When it executes I get an error Input string was not in a correct format. Can anyone please help? Thanks, Dave. :D :D :D
Last reply by jmcilhinney, -
-
- Administrators
- 5 replies
- 2.2k views
On the OpenFileDialog control, when its FileOk event is fired, I call a subroutine to do some processing on the file selected, but the dialog remains open. I can use Messageboxes and everything (which popup over top of the dialogbox) but only when my subroutine is completed and the execution returns to the FileOk event does the dialogbox close. Why won't it close on its own and/or what can I do to close it?
Last reply by FYRe, -
-
- 0 replies
- 789 views
Hi all... I kinda new to VB .NET. Currently doing a project through use of Visual Studio 2003 & another software; NI Measurement Studio (M.S.). So, if there's anyone who know of using NI M.S., pls drop me a msg. thks Oh ya, btw, I have this problem in NI M.S : Using CWIMAQViewer, I have successfully managed to load an image onto the the Viewer itself. Now I'm 'stuck' on how to adjust the Brightness, Contrast & Gamma of the image that was loaded onto the CWIMAQViewer. Does anyone know ? :confused: thks, FYRe
Last reply by FYRe, -
-
- Administrators
- 3 replies
- 1.1k views
Continuation of ' and " problem. The previous developer created and insert query for the save function. The function he created is below the error. Line 1: Incorrect syntax near 'uuu'. Unclosed quotation mark before the character string '''. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Data.SqlClient.SqlException: Line 1: Incorrect syntax near 'uuu'. Unclosed quotation mark before the character string '''. Source Error: Line 136: dim Cmd as new SQLCommand(strSQL,conn) Line 13…
Last reply by trend, -
-
- 2 replies
- 1k views
We moved our ASP.Net from Windows2000 to Windows2003. There are pages that have performance counters. We have "Anonymous Access" UNCHECKED for the site. We also have "Server" instead of "Machine" in machine.config. Users are getting this error: System.ComponentModel.Win32Exception: Access is denied If we reset IIS the error goes away. What's going on?? I found this site that talks about creating another ASP.Net app on the server but not sure if this is the answer: http://aspnet.4guysfromrolla.com/articles/041002-1.aspx
Last reply by eramgarden, -
-
- Administrators
- 5 replies
- 2.7k views
extremely slow lookup for a query (see last post) i am new to vb.net and am working on my first form that interacts with an access database. I don't seem to be able to figure out the syntax for creating a query against the dataset in which the WHERE clause is based on the user texbox input in the form. here is what I have - any help will be greatly appreciated! Private Sub button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles button1.Click Dim commandString As String = New String("Select First_Name, Last_Name from Demographics where First_Name = Me.TextBox1.Text") Me.OleDbDataAdapter1 = New System.Data.OleDb.OleDbDataAdapt…
Last reply by jalo, -
-
-
- *Experts*
- Administrators
- 6 replies
- 988 views
Hey I want to store the address of an object in the session and then recreate the reference later on by the address. Is this possible? The reason im not storing the object in the session is because the object is large and i dont want to serialize it (the session is InProc). The object is also only going to be used during the current postback so i dont have to worry about the address pointing to the wrong object.
Last reply by atmosphere1212, -
-
- 1 reply
- 1.1k views
I have an asp.net application that is mainly a front end to a database. For some of the tables there is some text that accompanies it that I don't really want to store in the database but want to include on the web page. The pages containing the text are simple html pages in the same folder as everything else so I was inluding them using: Try Dim l As New Literal Dim textWriter As New System.IO.StringWriter Server.Execute(strTable & "info.htm", textWriter) l.Text = textWriter.ToString() & "<br><br>" Me.phGrid.Controls.Add(l) Catch ex As Exception strError=ex.ToString End Try This all looked fine. The problem though is that now my post…
Last reply by mark007, -
-
- Administrators
- 18 replies
- 1.6k views
Hello, I have 2 text fields... username and password. I want to make sure there are no ' or " or '' or "" or """ or '''.. you see what I am saying in the username or password field. I have been trying soemthing like this: SafeUsername = Replace(username.Text, "'", "''") SafePassword = Replace(password.Text, "'", "''") but that isn't seeming to work. Any ideas? thanks! Lee
Last reply by Joe Mamma, -
-
-
- *Experts*
- Administrators
- 2 replies
- 1.4k views
How do I connect to COM port in .NET and get the data that arrives at that com port?
Last reply by Bucky, -
-
- 3 replies
- 990 views
I have the most annoying problem ever!!!! My brothers PC doesn't have Visual Studio .NET 2003 installed but I want to be able to run my code on his machine. He has the .NET Framework installed but every time I send him code it keeps giving errors and doesn't even load the form. Is there a tool that I'm missing to compile and package the code like in VB6?
Last reply by neodammer, -
-
- Administrators
- 1 reply
- 733 views
I can't seem to figure this one out. I have allowed the administrator the option to send messages to all logged in users by using a form which writes a message in a db table. What I have got is a parent form (frmMain) that every 10 secs checks this db table for a message. If a message is found then it pops up a form (frmMessage) simular to MSN. The problem that I am having is passing the information e.g. message, from, time from the parent form (frmMain) and filling the text fields in on the pop up form (frmMessage) so the user can see the message content etc. I hope that made sense?? I'm using vb.net can anyone help with this problem? Thanks Simon
Last reply by PlausiblyDamp, -
-
- 0 replies
- 842 views
I have a table (db2), records have a Status column. This is my problem: there are double records with status LMC and ACT (among other... not important) and some just with LMC. I need those "LMC only" records. How could I do this THE FASTEST WAY. I thought about Access like Join query "All from tbl1 and only those from tbl2..." But this should really be done fast (records exceed millions) so I'm sceptic about DataSets, the best way would be the SQL Select itself, but I don't have any clue how to do that :o this is the select that gets all of them (with LMC and ACT, remember I just need the ones that have only LMC and not ACT) --> SELECT CSCDNR, CSCHDNAME, b0…
Last reply by IxiRancid, -
- 3 replies
- 1.5k views
I have the following problem: I am currently implementing AJAX (Asynchronous Javascript And Xml) into certain areas of my website. Anyway - it uses the JavaScript XmlHttpResponse object to send and receive data to and from the server without having to post back the page. Everything is working great, until I try to use a Response.Redirect() on the server side. Here is my example: I have a content page which is access restricted to registered users, and this is how it SHOULD work: 1. The page (RestrictedPage.aspx) loads an empty template. 2. Once loaded, I use the JavaScript XmlHttpResponse object to fetch content to fill the template (without reloading the …
Last reply by david7777, -
- 1 reply
- 821 views
If I wrote a program that made use of VSS capabilities would each client machine that it was installed in need a licence for VSS, or would the fact that they have VSS installed on their enterprise system cover that? Licensing is not my speciality and I don't know how to research those type of things. I guess the same thing goes for applications that would take use of calling Word functions behind the scenes.
Last reply by Joe Mamma,
-
Who's Online 0 Members, 0 Anonymous, 84 Guests (See full list)
- There are no registered users currently online