Topics
-
- 9 replies
- 1.4k views
i got 2 diferent problems, depending on what date im reading, when im reading a short my problem is that the bytes are inversed, the first 2 bytes in the file are FFD8 and when read the give me D8FF, since i read it in a short it gives me 55551 when it should give me 65496... i know this is probably stupid and everyone knew that byte were inversed or something... but how can I compare shorts if there dont have the value they are suposed to.... my second problem is when i read a string... all my strings i read from the file are missing le last char my string is suposed to give me "JFIF\0" and instead i get "JFIF", then I tough it was maybe just because of the null ch…
Last reply by Shurikn, -
- 2 replies
- 2.6k views
I have tried shell opening a batch file with: net stop iisadmin net start iisadmin But although it doesn't error, it doesn't do anything, either.
Last reply by TheWizardofInt, -
- 1 reply
- 1.3k views
Hi, We are working on a .NET application (ASP.NET/VB.NET). In our application, when the user clicks on a control (say a link, button, check box or whatever) and then clicks on the same control again (while the first click is being processed), the application is hanging and giving errors. This is becuase double post back happens. Is there a way to avoid this problem. Help appreciated. Thanks in advance oursmp
Last reply by kahlua001, -
- 3 replies
- 13.4k views
Hello all pros and gurus, I have some problems with the combobox, I tried to populate it from an access database but instead I get System.Data.DataRowView in the combobox -_-" The following is the code : Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim connstring As String Dim cconnection As OleDbConnection Dim DistrictAdapter As OleDbDataAdapter Dim ds_name As New DataSet connstring = ................. cconnection = New OleDbConnection(connstring) cconnection.Open() DistrictAdapter = New OleDbDataAdapter("Select * from [resource master list] where [last name] = '" & TextBox1.Text & "…
Last reply by penfold69, -
-
- *Gurus*
- *Experts*
- Leaders
- 11 replies
- 1.7k views
Some thing happend to my app. and breakpoint does't effect the debug, it is just not stopping!!! I tryed to play with the debug settings and didn't find the way to do it. it is working in other solutions. do you have a solution for me?
Last reply by jdccr, -
-
-
- Leaders
- 6 replies
- 1.5k views
I'm working in Windows Forms of VB.NET 2003 with n-tiers and I lost constantly the ability to debug my projects. All my components (files .dll) are correctly registered in the GAC. All my projects have the option Debug in the combobox "Solution configuration" and I has tried all. Even I was to delete the directories "obj" and "bin" and build the projects but I don't get a good result. I discovered that if I build all my components I get the ability to debug again, but It's frustrating and tedious and I lost a lot time because I have a lot projects. I don't get messages or errors, simply I set the breakpoint and run the program but the program don'…
Last reply by jdccr, -
-
- 1 reply
- 2.2k views
Hi, I have written a Windows Service. This has a "FileSystemWatcher" component in it whose path is set to a network folder. [Ex: \\someNetworkMachineName\Folder1\] This basically fires an event when the content of the network folder are modified. But after I installed the service and tried to start the service, I got the "invalid path" error. Please note that everything works fine if I replace the path to a network folder with that of a local folder. Any help is greatly appreciated. Thank you Srivalli.
Last reply by Shurikn, -
- 0 replies
- 820 views
Does any one know how I can get this work? It works right when I pick the icon from the default shell32.dll, but if I pick it from an exe or some other file I lose the "," and the index and sometimes some of the filename as well. I think some of the problems are caused by Len(FileName), but don't know how to fix it. And the declarations could also be wrong. Private Declare Unicode Function SHChangeIconDialogW Lib "shell32" Alias "PickIconDlg" (ByVal hOwner As IntPtr, ByVal szFilename As String, ByVal Reserved As Integer, ByRef lpIconIndex As Integer) As Integer Private Declare Ansi Function SHChangeIconDialogA Lib "shell32" Alias "PickIconDlg" (ByVal hOwner As …
Last reply by JumpyNET, -
- 0 replies
- 2k views
Put vb.net addin into vb6 I need to put code from vb.net to vb 6? Any ideas? THX
Last reply by JelCom, -
Excel sheet
by Jedhi- 0 replies
- 1.9k views
I have an application using Thread that is writing data to an excel sheet. Sometimes I experience that data is not been written to the excel sheet, so that an empty gab appear. How can that be ? Anyone experience the same ? Do you use InvokeRequired for excel sheet ?
Last reply by Jedhi, -
- 2 replies
- 989 views
Just a quick question for those of you already familiar with VS2005 beta. I briefly worked with Visual Studio .NET 2003 and was very disappointed that when creating a Windows Form, it had the "classic" Windows look to it. I know that creating a manifest file, etc... fixes that. So, I'm wondering if MS has finally given Windows Forms the XP look right out of the box (for buttons, comoboxes, etc..) and did away with the need for manifest files? I saw a quick demo on Visual Basic .NET Express 2005 and it looked like it was there. Should the pro version have everything that Express version has plus more? Thanks, FGump
Last reply by penfold69, -
- 4 replies
- 1.9k views
From a ASP.NET page a user has to klik on a button and then a word document has to be created. In the final version database information has to be added to the word document. Local it works but when I run it on a ASP.net page the office reference are not installed and it doesn't work. Please could some one help me on the way. Thanks, Feurich
Last reply by ivan_april, -
- 2 replies
- 1k views
Could somebody please give me an idea of the method of licensing for SQL Server? I intend to install SQL Server on a machine, which is also running IIS6 as a webserver. This machine will host ASP.NET pages that access the database, no machine will access this database except through ASP.NET. The number of users that access these ASP.NET pages is extremely large - although they will access it only very rarely. (1 server would be sufficient). I am based in the UK, but i am sure the licensing would be same in the US. So could someone please give me a rough idea? I've looked on the MS site, but i dont know what category this would fall into. Thanks.
Last reply by Jay1b, -
- 0 replies
- 525 views
I have a ListBox filled with file paths. I want to be able to drag the selected files from the ListBox to a windows explorer window. And I want to be able to press Ctrl and Shift to determine if the files are copied or moved from the original path, and start the animated windows copy/move function. Is this possible? I'm using VB 2005 Express Beta 2.
Last reply by JumpyNET, -
-
- Leaders
- 3 replies
- 2.2k views
I'm a VB6 developer and haven't yet moved onto VB.NET. I just ordered a copy of Visual Studio 2005 beta 2 and am looking forward to start using it. The company where I work has a large workflow program (not developed in-house) that can be customized by telling it to use external COM DLL's. Therefore we've been using VB6 for quite some time to create ActiveX DLL projects that can be called by the workflow program to add new features to it. We would like to start using VB.NET. Can we create a COM DLL using .NET? If not, can anything similar be created with .NET so we can tell our workflow program to call/use it? Thanks for your help. FGump
Last reply by IngisKahn, -
-
-
- Administrators
- 5 replies
- 1.1k views
Someone sends me an xml file in a set format. I want to take that and get all of the records into a blank SQL Server table. I can build the table first because I know the fields. What is the fastest way to get this accomplished in C#?
Last reply by VBAHole22, -
-
-
- Leaders
- Administrators
- 4 replies
- 748 views
I've been fighting with this for quite some time now, Can someone explain to me if I'm doing this right of if this is even possible. I have a form with several textboxes. Is there a way to index through them in a loop. Here's an example. Dim Controls As ControlCollection Controls.Add(txtControl) Controls.Add(txtSerial) Controls.Add(txtModel) Dim I As Integer For I = 0 To 2 Controls.Item(I).Text = "I Am TextBox " & I Next Now txtControl, txtSerial, txtModel are already set up on my form. I'm looking for a way to loop through them and change the text. Thanks In Advance. Simcoder
Last reply by snarfblam, -
-
-
- Leaders
- Administrators
- 2 replies
- 733 views
How do I create a 0 (or null) terminated string in c#? if(entete.identifier!="JFIF") { return 0; } the string "JFIF" is suposed to be a 5 char string in wich the last char is a 0 (or null)
Last reply by snarfblam, -
-
-
- *Experts*
- 4 replies
- 867 views
I have a small class that I would like to use in a collection. Every time I recieve a connection request I want to creat a new instence of the class and put that instence in the collection. I've never worked with collections before so I don't even know where to begin, so any advice is greatly appreciated.
Last reply by mskeel, -
-
- 5 replies
- 1.6k views
this is pretty simple really... what i need is to compare some byte array obtain from the header of a file, to decimal value (to verify the signature) and unfortunatly, the 4 first byte of a jpg are not chars... they are plain hex value, wich Is why i need to do this, here's what I go so far: if(entete.SOI!=0xFFD8) { return 0; } if(entete.JFIFMarker!=0xFFE0) { return 0; } but the problem is that 0xFFD8 is seen as an integer and entete.SOI is a byte[2] so he wont compare them, so is there a way to: 1-change a byte array into integers 2-change an int into a byte array... 3 something else
Last reply by IngisKahn,
-
Who's Online 0 Members, 0 Anonymous, 70 Guests (See full list)
- There are no registered users currently online