digitalsuperman's Q&A profile
Windows Forms VB2005 - Listview Column Sort
I'm having a problem that is cited fairly commonly on the net. I've tried various solutions and all of them have the same problem. I'm trying to do a column sort. String variables sort nicely. However variables that are integer variables don't sort at all. The order is very messed up. There is some sorting but not based in the full magnitude of the sorted integers. Can anyone help me with this. I've tried several ways of doing this, beginning wi ...Show All
SQL Server OpenRowSet property of Data Flow task
Hi, I am trying to build a package programatically. I am using the HumanResources.Employee table from the AdventureWorks sample DB as my OLE DB source and set the OpenRowSet property to [HumanResources].[Employee]. However, an exception is thrown when calling CManagedComponentWrapper.ReInitializeMetada(). If I specify [AdventureWorks]. [HumanResources].[Employee] as the value for the OpenRowset property, everything works fine a ...Show All
Visual FoxPro Encryption Questions
I have written two Functions one for encryption and one for Decryption (using _crypt.vcx), I would like to encrypt all data in my app . I have a few Questions… 1) When creating my tables what do I use for datatypes 2) What about indexing Do I index on Decypt(field1). 3) What about SQL Do I do Select Decypt(field1), Decypt(field2)… 4) What about select * . Is it supposed to be this big of a pain or am I just going ...Show All
.NET Development C# console app get security error running from server
It runs ok using my computer but not after the .exe is put on a server and run from there. What do I need to change I don't need any additional security. It needs to run as if it was a VB6 application. There is a couple of ways: 1. Use Active Directory to push it out to clients 2. Use the Wizards 3. Use the caspol command-line utility (comes with the framework). ...Show All
Visual Studio Express Editions Switch between tabs using code???
Hi I was just wondering if it is possible to switch between tabs on a tab control by using code rather than selecting each tab with your cursor. I want different tabs to be displayed depending on what my user selects from a file menu. I have tried tabpage2.show() tabpage2.visible = true tabpage2.bringtofront and assigned this code to a button, hoping when the button is pressed tab page 2 will be the active tab. any help would be much appreciated ...Show All
Smart Device Development How to use SetWindowLong in VB
Hi! I am trying to use the SetWindowLong and CallWindowProc API functions in VB. In desktop VB, they're supposed to be declared as: Declare Function SetWindowLong Lib " user32 " (ByVal hWnd As Long, ByVal nIndex As Long, ByVal dwNewLong As Long) As Long Declare Function CallWindowProc Lib " user32 " Alias "CallWindowProcA" (ByVal lpPrevWndFunc As Long, ByVal hWnd As Long, ByVal Msg As Long, ByVal wParam As Long, ByVal lParam As Long) As Lo ...Show All
Windows Forms clickonce install problems
Hi. I'm playing around with ClickOnce in the VS2005 beta. I'm publishing a windows application and this works fine. The problem occurs when I hit the "Install" button on the publish page that is automatically set up during the publishing process. In IE it will only show the manifest XML in the browser. In Opera the application is first downloaded and then the manifest XML is displayed. Any suggestions You ...Show All
Windows Forms Licensing
Can anyone simplify control design time & runtime licensing using the licensing provider in the .NET Framework ...Show All
Smart Device Development what is default.skn
Hi I have seen in the remote file viewer a file default.skn Can any body tell me what is it meant for and what application uses it Actually I am developing an application which has to read the xml file and display different bitmaps when and where required according to the positions and sizes specified in the xml file I am asking about default.skn just because it consists of similar data as I had So that the application which uses ...Show All
Windows Forms is there anyway to close all opened windows(not MDI)
Hi All, I am working on .Net windows application, when I get any network errors I need to close all opened windows (except main window). is there anyway to close all windows other than main window. Note: I am not using MDI forms Thanks in my application Ive one main window n from that window I can open multiple windows, when I get any network or fatal error I need to close all opened windows other than main window, is there any way to do ...Show All
SQL Server yyyymmdd text data into a datetime field in SQL Server?
Hello, I have an Excel spreadsheet that contains 100,000 + rows of data. Two of the columns in the spreadsheet are date fields that are sent over in the yyyymmdd format (no separators such as "-" or "/"). I tried converting these fields into dates using the Data Conversion task in SSIS. This doesn't work as it appears that SSIS cannot map a string in the format of yyyymmdd to a valid date. In lieu of this, I have added a S ...Show All
Visual Studio Team System Continued Errors after troubleshooting guide
This will be a living document and as we troubleshoot issues, we will add to the query and document. It will culminate in a consistency checker tool which automates the checking and ultimately other functions like kicking the warehouse etc... Feedback is welcome and I will update this data. Symptoms: The data in the reports is stale and doesn’t seem to ever get updated. The reports error out. An error has occurred during report pr ...Show All
.NET Development How could I know if I am running a NGEN'ed image?
After I NGEN'ed my program and run it, I found there is no change on memory cost and running speed. I doubt if I am still running the old version(not NGEN'ed) of my program. How can I run the NGEN'ed image directly Or how can I know if I am running a NGEN'ed image Thanks! There is no way to run it directly, I think, nor of determining if it can be run. NGen only makes a difference if your managed assemblies are huge, and they are commonly ...Show All
.NET Development SoapException: System.Web.Services.Protocols.SoapException: Server was unable to process request
Hi all! I have problems with my web service I'm coding in C# in VS 2005. I got the above error when I execute my web service. Actually, the web service calls a method from a class that is located in another project referenced by the web service. This method reads data from a database located on our server and the error happens when I close the connection to the database with the instruction: conn.close(). Can you help me please R ...Show All
SQL Server Using Reporting Services 2005 on SQL Server 2000?
Is it possible to use Reporting Services 2005 on licenced SQL Server 2000 without a licence of SQL Server 2005 Thanks for your answer, Andreas Q: 1 SQL Server 2000 licence, SQL Server 2000 + Reporting Services 2005 on the same machine. Legal A: No : 1 SQL Server 2005 licence, SQL Server 2000 + Reporting Services 2005 on the same machine. Legal A: Yes. ...Show All
