Topics
-
- 1 reply
- 1.4k views
Hi, I have ASP.net application. I have a form that is used for Data entry . Is is a master details form. The detail part of the fir is filled by using a datagrid in edit mode. When the user has finished entering a detail row , he clicks on the update button in the row that upddates the datagrid and removes the datagrid from edit mode into read mode. I am facing a problem here, When the user clicks on the update button , the page view doesnot refresh automatically. I have to move the mouse for the page view refresh to happen. Even if I donot move the mouse for 10-15 seconds the page will remain the same.As soon as I move the mouse , the page view refreshes. The app…
Last reply by david7777, -
- 0 replies
- 1.2k views
Hi, I have made an windowsservice, and added an ServiceInstaller to the project. Now I want my Installer to first remove the previous application before the new installation begins. I have been checking out the "RemovePrevious", what, to the description should remove the previous application that has been installed, but it doesnt, the only thing that happens is that an message box pops up and tells me that "Another version of this application is already installed.." and aborts the installtion. Anyone out there who can help me out? Thanks, Simon
Last reply by Sandallic, -
- 3 replies
- 1.1k views
I am doing a TelNet deal with VB.NET however I am having one issue, the user name and password is getting sent to fast. How can I slow it down or make the program wait for the telnet to ask me for the user name and then password? Code below: Private Sub TelnetGuiApp_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load m_Socket = New ASOCKETLib.SocketClass m_Constants = New Constants m_Socket.Protocol = m_Constants.asPROTOCOL_TELNET 'Host For FTP Location Dim TXT_HOST As String TXT_HOST = "library.uah.edu" m_Socket.Connect(TXT_HOST, 23) TXT_RESULT.Text = m_Socke…
Last reply by jmcilhinney, -
- 6 replies
- 1.1k views
Ok so I created a web user control to display a thumbnail Image ( picture 1 - control.jpg ) I dynamically generate controls of this kind and put them into a panel, in another control. The problem is that they appear in a column - like mode, not as it should ( picture 2 - panel.jpg ) The panel is 700px width I tried to delete the last character in the webuser control, below that table, but it won't let me :(( Any ideeas ?
Last reply by PROKA, -
-
- Moderators
- 5 replies
- 1.1k views
I've made a dll, wich will be oppened by our main application. His main form have a 'about' button. What I an trying to do is get the product name, etc, by using Application.ProductName... But i realised that with this i'll get the main project properties. I don't want that :-( How can I get the dll properties, such as productname, filename (xxx.dll), dll version, etc?????
Last reply by Diesel, -
-
-
- *Gurus*
- 10 replies
- 4.2k views
Does anyone know where the directory browser control is in .NET? I can see the one that's there for compatability (DirListBox control) but it looks old. I need the one that looks like the FileSave dialog. Any ideas?
Last reply by FZelle, -
-
- 5 replies
- 717 views
Hi, I'm coding a desktop application to virtualy view articles of an institue, and allow for saving bookmarks and searching. Currently, I'm using an Access DB as the beckend DB, which where all data is taken from. To make a long story short, I need to allow my users to use advanced search properties, and the best way to programmatically do this is using RegEx, of course. Problem is, there seems to be NO support for RegEx with Access (I'm using 2000 format), and the LIKE command allows for a very limited filtering of content. My question is divided into 3 parts: 1. Is there an Add-On I can install to make the search using RegEx possible? It is with MsSQL and MySQL...…
Last reply by FZelle, -
-
- Administrators
- 1 reply
- 2.1k views
hey buddies.. Is there is any way to export the result displayed in the datagrid to a excel sheet or word or flat flile using a button clik in vb.net at windows application. if so can anyone specify the link which contain the code. Thx in advance with Regards .netizen
Last reply by PlausiblyDamp, -
-
- 1 reply
- 693 views
I have the following tables in my database: Media(IdMedia, Description) Images(IdImage, IdMedia, Size) Requests(IdRequest, IdMedia, DownloadDate, Aproved) I need to create a query that will calculate the total downloads of each image and show the user the percentage of those downloads in the total number of downloads in the current month Example: Let�s say we have 4 downloads this month: 2 for the idmedia=1 and one for idmedia=2 and idmedia=3. The final table should show me something like this: Idmedia Description Percent 1 Picture1 50 2 Picture2 …
Last reply by Afraits, -
- 2 replies
- 2.4k views
Hi , I have an ASP.net (VS.net 2003) application for Purchase ORders. I am trying to create a Crystal Report for the Purchase Order so that the user can preview it and print it. The purchase Order can have a maximum of 10 items in it. My questions are: 1. How can I base this crystal report on a stored procedure from Sql Server 2000 2. The Purchase Order report will be a grid like report. The items will be listed in a grid. If the items are less than 10 , I want the report to show blank rows , so that the grid is the same size every time. How can I do this?? 3. Is there an easier way to print the Purchase ORder , other than using crystal report. I dont want t…
Last reply by mike55, -
- 1 reply
- 746 views
I have a form with a couple of buttons on it. I do not want 3 of the buttons to enable untill the first question is answered on the form. How do I send a command in VB.NET to enable these buttons? Thank you
Last reply by thenerd, -
- 2 replies
- 1.4k views
Is it possible to use Directory.move() with toupper/tolower function to uppercase/lowercase a directory? File.move() does the job fine (for files) but this one give me an error message says "source and destination must be different". Any alternative here (beside extra move to temporary name)? Thanks in advance.
Last reply by Worrow, -
- 1 reply
- 720 views
Hi all, I am trying to create an application which allows user to enter special keys, such as F1, F2, etc....How may I do that? Thanks PlayKid
Last reply by jmcilhinney, -
- 1 reply
- 744 views
Hi all, I am trying to measure the size of a picture, when I enter x and y values, then a dot would display onto the picture, how can I do it? Don't have to type me the code, since I know it will be a huge list of codes, can somebody maybe give me a direction on how to do it? Thanks alot PlayKid
Last reply by thenerd, -
- 0 replies
- 914 views
I am trying to have my PocketPC send data to a DesktopPC. I am using sockets, if I run the binary file for the PocketPC on the desktop I am able to connect and lifes good. When I run the binary on the PocketPC I recieve the following error: 'No such host is known.' The server I am trying to connect to is also a running a webserver, on the PocketPC I am able to view webcontent from the server. This is the code throwing the error. objTCPClient = New TcpClient objTCPClient.Connect(hostname, port) 'ClientThread = New Thread(AddressOf ConnectionRequest) 'ClientThread.Start() ' Get the stream Dim networkStream As NetworkStream = objTCP…
Last reply by Nate Bross, -
- 0 replies
- 1k views
How do I set the File Description for my compiled exe? [Right Click on an exe, select properties, and you will see a "Description" area, I cant seem to find a way to set what the description is when I compile the program] The reason I ask is because I am setting up a file association with my project and when my exe is added to the list of possible ways of opening a file (Open With...), Only the Icon appears, but there are not words next to it. I assume this is because the file description is blank on the exe, but perhaps there is a different reason. It must be in the projects properties somewhere, but I cant find it. EDIT: Problem solved, jmcilhinney found the area…
Last reply by mrjeffy321, -
-
- Administrators
- 3 replies
- 893 views
Ok I have a form... on the form is two combo drop down boxes. Also there is one text box. In the first combo box which is named: ComboBox22 The item listed in this box are the following: Monday Tuesday Wednesday Thursday Friday Saturday Sunday In the second Combo box which is named: Combobox23 The items listed in this box are the following: First Shift Second Shift Third Shift The text box on the form is named: TextBox1 Also there is a RichTextBox on the form for the person to fill out. Then there is a save button. I currently have the save button code looking like this: Dim dayofweek as String = CStr(Me.ComboBox22.SelectedItem) Dim Sh…
Last reply by laroberts, -
-
-
- Administrators
- 11 replies
- 1.7k views
I'm using SQL Profiler to monitor connection created by my Web Application. I noticed that calling the Close method didn't close immediately the connection, it takes 1 to 5 minutes before the connection will be closed in the SQL Profiler. I think SQL Profiler is checking connection in real time, Is there a way to make the connection close immediately? Even using this simple code below will make the SQLConnection behave the same. Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click TestConn() End Sub Sub TestConn() Dim cn As New SqlClient.SqlConnection cn.ConnectionString = Utilit…
Last reply by Magadass, -
-
- 1 reply
- 866 views
I have been attempting to write a Generic Data Access class for a .NET 2.0 application I am working on, mainly to get familiar with 2.0 and such. A problem I have ran into recently, wouldnt be a huge problem if msdn2 would have documentation but it doesnt. Heres the question: I am attempting to create a Generic Database Parameter using DbParameter, however it is implemented as abstract currently in Beta2. Which makes me wonder if they are not done implementing it, or I just cant figure out how to get it to work. Some details, I have a DataProviderFactories class that will give me the proper Factory based on configuration settings for my Data Provider type. S…
Last reply by Magadass, -
- 3 replies
- 1.9k views
I have a listbox with a datasource and a display member, and i have found out that because of the data source, calling Listbox1.SelectedItem.tostring will always return System.Data.DataRowView So, how can i code this so it returns the test of the selecteditem?
Last reply by jmcilhinney,
-
Who's Online 0 Members, 0 Anonymous, 65 Guests (See full list)
- There are no registered users currently online