Topics
-
- 2 replies
- 779 views
We are switching servers, meaning we will be upgrading databases, at the place that just hired me Right now they are on a Novel network superimposed over a Windows 2000 Advanced Server and Windows XP Pro work stations, and using Sybase v8, so no matter what, it is going to be a nightmare. Personally, I am about to put a gun to my head for the difficulty of managing the whole thing, and all I do program This is a three developer shop supporting a web app used world wide, probably 30 clients and the largest table in the database having over 1,000,000 records, but less than 2,000,000 I would personally say 'Get on a 2003 server and migrate the data to MySQL v5,…
Last reply by Gill Bates, -
-
- Administrators
- 4 replies
- 1.1k views
hello there. i need to persist the form values of a particular web page so that if a user gets timed out then i can repopulate it when they return to that page. likewise, if a user fills half the form in then decides to browse a different page before returning later on, then i will also need to remember the values. i dont believe that i can trap either of these events with a postback so at the moment i am thinking the best solution is to keep storing the form values inside a cookie every time the javascript 'onunload' event handler fires. i can then repopulate from the cookie when a user comes back to the page. i can enforce that cookies is on for users of my applic…
Last reply by Gill Bates, -
-
-
- Leaders
- 1 reply
- 752 views
Hi: Ok, abstract question...not sure if there is an answer. Does visual studio provide a mechanism to track how the software is used (i.e. software opens, method1, method2, software closes)? If something like this exists and could be turned on, it would be helpful in troubleshooting. We could construct something like this on our own, but was just wondering if something already exists. Also, is there a way to change my user name, I looked for an administrator email as well as in the profile options, but couldn't find either. Thanks!
Last reply by snarfblam, -
-
- 0 replies
- 1.3k views
I have created a Visual basic.net application that uses a visioneer 9650 usb scanner. I am using an eztwain class given to me by the supplier to interface this scanner with my application. My problem is when I scan an image in that has been faxed to me the application turns the whole image black or rather inverts it. The white becomes black and black becomes white. And it is doing this automatically. However other images I scan in it scans fine though the other images are not faxed to me. Anyhow an example of the code I am using is pasted below: My problem is that it inverts images when it shouldn't. Dim fileName As String fileName = "c:\image.tif" …
Last reply by lothos12345, -
-
- Administrators
- 5 replies
- 1.1k views
I was thinking about how nice it would be to have a global try/catch that would catch errors not handled by the subroutines themselves. this would be sort of a last-resort safety net to stop your program from just crashing on the user if something odd happens. Currently most of my functions have a try/catch statement, but if there was a global version it would save lots of code
Last reply by ehelin, -
-
- 2 replies
- 1.7k views
Hi, I kinda new to vb.net so bare with me. I'm have an app that needs to connect to different computers on the same network. I need to know what the best approach would be. If anybody has any suggestions or sample code, it would really help. Thankz
Last reply by mskeel, -
- 1 reply
- 825 views
our application displays debugging messages in the output panel (mostly sql queries sent to sql server). i am wondering if i can write a utility to perform some tasks. on the same time, the same utility will catch the debugging messages, filter them, and display them. i guess my goal at the end might become writing a customized debugger.... on the other hand, is it possible to catch which functions were called while debugging without writing any code? if so, code explored map could be constructed... thanks
Last reply by Wile, -
- 1 reply
- 1.9k views
I have a VB.NET client application that needs to send double precision numbers to the Perl server, have Perl make a couple of calculations and send the double precision results back to VB.NET client. The communication is over internet and Perl is on the web server. I am thinking either straight TCP exchange on both sides, or use of SOAP on VB side and SOAP::Lite on Perl server. Perl server program would run as a script in cgi-bin. I saw some examples of VB to Perl server but how do I get the info back to VB from Perl, I have no idea. Can anyone make a suggestion as to what would be the easiest way to do this ? Thanx
Last reply by Gill Bates, -
- 1 reply
- 974 views
i want to improve my programming ( or get back to my programming after a bit of an occupational detour). i want to create a simple 2 player game, like pong, where there is constant action (in this case, the ball moving).i want to be able to play this between two computers, linked by a server. my aim is to write the server to allow the two pc's to play the game and the client to be on each pc. how do i link the 2 client apps, and keep the ball in the same place on the screen in each client? does it involve constant sending of data? would i be better to go through the server or just use the server to link the two clients? has anyone any examples i may look at or t…
Last reply by Gill Bates, -
-
- Administrators
- 6 replies
- 954 views
All I want to do is put data into a grid. Here is my code: Sub BindData() Dim strConnString As String = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=\\intranet\databases\open_en.mdb" Dim objConn As New OleDb.OleDbConnection(strConnString) Dim strSQL As String = "SELECT * FROM InsChange" Dim objCommand As New OleDb.OleDbCommand(strSQL, objConn) Dim objDA As New OleDb.OleDbDataAdapter objDA.SelectCommand = objCommand Dim objDS As New DataSet objDA.Fill(objDS) objConn.Close() grdRecs.DataSource = objDS grdRecs.DataBind() End Sub I keep getting "Object reference not set to an instance of an object" Any help would be appreciated.
Last reply by lorena, -
-
-
- Administrators
- Leaders
- 7 replies
- 1.5k views
Dear all, I have a strange problem, my vb.net application completely runs out of vm, this can exceed 1 GB, since this application constantly runs on a server, windows returns an error after several hours. The strangest thing is that gc.collect() doesn't seen to work. Does anybody know how to clear up the vm properly ? Thanks in advance ! Antoine
Last reply by snarfblam, -
-
- 0 replies
- 1.5k views
I have a combobox and i have a text size(collections) which is longer than the combobox size. I do not want to use the dropdownlist as style.I just want to use Dropdown style. When i use combobox style as dropdown style and If i select the text which is longer then the combobox then it accomodates the last "n" number of letters it can accomodiate and shows that.Is there a way to show the first "n" number of alphebates it can accomodate.
Last reply by shankar_it, -
-
- Administrators
- 3 replies
- 911 views
All, I am a VB.NET programmer so please excuse me if the question is kinda dumb. I have a Web Service and a web page to call and retrieve data from the web serivce and pop them into a datagrid, the code is as follow: Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim objWS As New NorthWindWS.Products Try If Not Page.IsPostBack Then objWS.BeginRetrieveAllProducts(New AsyncCallback(AddressOf RetrieveData_CallBack), objWS) Else lblError.Visible = False lblError.Text = String.Empty End If Catch ex As Exception …
Last reply by microkarl, -
-
- 0 replies
- 862 views
I am wanting to change the backcolor of a specific row/cell in a DataGridView control using the following code: private void CustomGridCellFormatting(object sender, DataGridViewCellFormattingEventArgs e) { if (dgSearchResults.Columns[e.ColumnIndex].Name.Equals("column1")) { // Ensure that the value is a string. String stringValue = e.Value as string; if (stringValue == null) return; switch (stringValue) { case "G": e.CellStyle.BackColor = Color.Gold; break; case "S": …
Last reply by flynn, -
-
- Administrators
- Leaders
- 5 replies
- 5.4k views
The IDE tells me that, in the constructor of an inheriting class, calls to MyBase.New must be the first line. This leads to me writing code like: Inherits System.ComponentModel.CategoryAttribute Public Sub New(ByVal x as long) MyBase.New(IIf(x=1, "One", "Two")) End Sub With more complicated conditions you can imagine that the IIfs are going to get ridiculous. Why will it not just let me write: Inherits System.ComponentModel.CategoryAttribute Public Sub New(ByVal x as long) Dim s as string If x= 1 then s="One" Else s="Two" End If MyBase.New(s) End Sub And is there a solution to the prob…
Last reply by rbulph, -
-
-
- Leaders
- 1 reply
- 815 views
I've noticed that in .NET, the IndexChanged event runs after it changes the index, where as the ItemCheck event runs before it checks/unchecks the boxes. Like for example, say I have a listview with 1 item in it, and I do this. private void listView1_SelectedIndexChanged(object sender, System.EventArgs e) { Debug.Writeline(listView1.SelectedItems.Count); } When I select an item, it'll display 1 and when I unselect all items, it'll display 0. On the other hand, if I do this, the reverse happens. private void listView1_ItemCheck(object sender, System.Windows.Forms.ItemCheckEventArgs e) { Debug.WriteLine(listView1.CheckedItems.Count); } When I che…
Last reply by snarfblam, -
-
- 1 reply
- 1.3k views
crystal report date format comes like yyyy-mm-dd. I would like to know if this date can some how be converted to mm-dd-yy format? I have tried using the HFWDatetoDate function, but it does not change the data in the report. It only changes the report date format, not the data in the report. I need the data(dates) in the report to be changed. If any one has done this before, any help you can give would be great. thank you! tasha
Last reply by natasha, -
- 1 reply
- 2k views
The ESCAPE key can be trapped on a form by setting the "KeyPreview" property to true, but the user control does not have this property. Does anyone know how to trap a specific key on a user control, no matter what control on that user control has the focus? I need this functionality so that if the user presses the ESCAPE key, I can hide the user control until it is needed later. I'm guessing that a user control is treated exactly the same as a textbox control (or other control) in that there is no KeyPreview for those controls. I suppose I'll have to trap the ESCAPE key on the Form that contains the user control, then act accordingly, correct? tia, flynn
Last reply by Cags, -
-
- Leaders
- 9 replies
- 1.2k views
Is there a way to automaticlly start showing all or some of the list of words in the combobox when i just start typing in some characters ie the way it behaves when i click the small arrow mark in combobox and then start typing the words.My aim is to just avoid the user to click the arrowmark and just start showing the user the list when he starts typing in the box.
Last reply by Cags, -
-
- 2 replies
- 806 views
My program hands off to and from and older ASP website. This website uses cookies to pass data between pages. Should I be able to get to those? I know it isn't sufficient just to call them by name
Last reply by TheWizardofInt,
-
Who's Online 0 Members, 0 Anonymous, 45 Guests (See full list)
- There are no registered users currently online