jwraith's Q&A profile
SQL Server Export Wizard disturb order of data during exporting Data to Acess 2003 from SQL server 2005
I am using the following query to export data from sql server to ms access in export data wizard: SELECT * FROM myView where myID = 123 Order by varcharColumnName1,varcharColumnName2 ,intColumnName3 This query will fetch about 7, 00,000 records. SQL server 2005 shows the correct order, but Data in access table shows Incorrect order of data. Please give me the solutions. Speaking logically, sets and tables don’t have order. Order can be specified in a SELECT. Order can be the result of a clustered index but typically there is no guarantee of order without an explicit ORDER BY. This is generally true of all Relational Databases. Did you try placing an index on the Access table ...Show All
Visual C++ Load TrueType fonts from file
A long time ago, I've found a Win32 API function somehwere in MSDN that could load a TrueType font from a file on disk and use it a resource or something. The application could then use that font to display things in its window, without installing the font in the system. But I just can't find that function again. Does anybody know where it is Since there doesn't seem to exist any software that can show many fonts at a time to compare them side by side, without installing all 5,000 files to the system, I want to create an application that can do that. I only have an old one (The Font Thing) from 1999 but it can't handle OpenType and Type1 fonts. Since Windows' integrated font preview programme can show these files, I hope the above functio ...Show All
Visual Studio Tools for Office Community?
If this is a 'community site', why can I not reply to most of the posts Shouldn't a community site be about starting conversations << I am surprised Cindy didn't ask for you to be moved to the forum Where is the forum for... ( sorry Cindy could not resist :-) ).>> I've been thinking about this... On the one hand, there are the forum guidelines that say the forums should stay on-topic. On the other hand the fact that the Office team has decided that newsgroups are the support medium for their applications. And then (I've run out of hands) there's the "Community" aspect: what the "community" wants should be respected. And balance that against, where are people most like ...Show All
Visual Studio how to prevent JIT debugging
Hello, I run a testsuite as a batch job, and if a testprogram fails in the testsuite I don't want a window to pop up that ask me with which JIT debugger I want to debug. So in Visual Studio I unmarked everything in Tools->Options->Debugging->JIT The window still pops up and now tells me that "No installed debugger has Just-In-Time debugging ..." I also tried to remove the entry "Debugger" in HKEY_LOCAL_MACHINE\SOFTWARE Microsoft\Windows NT\CurrentVersion\AeDebug and tried Auto=0 and Auto=1 What do I wrong I run XP64 on AMD Turion, just in case that this plays a role, and I compiled with the environemt settings generated with vcvarsall amd64 thanks in advance See here for more details: http://msdn2.micro ...Show All
SQL Server Database is read-only.
Hi I have been learning on how to use the new features of the .NET 2.0, and Well I using VS2005 and everything is pretty straight foward. I did a Membership webform where you log in and create users and roles etc. I installed the SQL Server 2005 express as my Data provider and thats where my Tables are. I used the aspnetsql_reg comand to integrate the server to this application. Anyway my problem started when i decided to copy my project to my IIS server and well when I run the app from the Browser tells me that he Database It's set to Read-Omly and therefore it cant update it. This happens right after log in. but then I open the App. on hte VS and it runs find. This is the error: Exception Details: System.Da ...Show All
Visual C# Windows Service Error
I have created this windows service. After building it, when I try starting it, it gives me the error msg: "Could not start myservice.FileTrans service on local computer. Error 3: The system cannot find the path specified" I have checked the file path and the .exe resides in the specified path. Would anyone know what the problem is over here Thanks... You should use InstallUtil to install the service from the appropriate directory at least once before using it. Once it is installed you don't need to reinstall it unless the path changes. This will ensure that the path is properly configured. In order to use InstallUtil you'll need to add an installer (right-click in the service ...Show All
.NET Development Problem decoding non-ascii characters in SOAP response
I'm getting characters when reading the response from a SOAP web service with non-ascii characters. The http response is apparently encoded in UTF-8 (checked by looking at the byte stream in debug mode), but when I read the result through the proxy class (generated with VS2005) multibyte characters are turned to . Response example - text in red shows as 'Jo o' when retrieved through the proxy class. < xml version="1.0" encoding="UTF-8" > <soapenv:Envelope xmlns:soapenv=" http://schemas.xmlsoap.org/soap/envelope/ " xmlns:tns=" http://schemas.xmlsoap.org/soap/envelope/ " xmlns:xsd=" http://www.w3.org/2001/XMLSchema " xmlns:SOAP-ENC=" http://schemas.xmlsoap.org/soap/encoding/ " xmlns:xsi=" http ...Show All
Windows Forms MSHFLEXGRID PROBLEM HOW REGISTER COM COMPONENT IN VB.NET
hi all how life is going in these days I using vb.net i add com component microsoft flexgrid control version 6.0 when i drag and drop to from then shown error message You do not have a license to use this activex control but in my c:\windows\system32\vsflex3.ocx file but is problem please help send me link where i read for msflexgrid thanks for response for advance Regards Irvendeep ...Show All
.NET Development IPC remoting exception with events
I get an exception thrown when a remoted object tries to fire an event. ExceptionText = "This remoting proxy has no channel sink which means either the server has no registered server channels that are listening, or this application has no suitable client channel to talk to the server." From what I've read so far, I'm doing something wrong in the configuration, but I obviously don't know what I'm doing wrong. I saw a message about setting port=0 for TCP, but I'm using IpcChannel. Even so, I tried it and it didn't seem to work. Is there a magic value equivalent for IpcChannel that I'm supposed to use I've tried "" and null, too. Anyways, I am programmatically setting the configuration on both sides. -begin se ...Show All
Community Chat Kyro KidSafe Browser (beta)
Hello all, I am making a "KidSafe" browser for kids. Please download my program and post any noticed bugs,etc. It takes only minutes to set up. I am 10 years old, so who can make a browser for kids better than a kid Progress: Final will be started in January Thanks you everyone for your contributions and encouragement. *Has 3 tabs for browsing. *Has a "My Websites" button with up to ten of your programmed websites in it. Beta Features: *Has 3 tabs for browsing. *Has a "My Websites" button with up to ten of your programmed websites in it. *Talking Help guide *A new install program Updates in final version: *Button text replaced with graphics. *A game room with games, and fun KidSafe software (suc ...Show All
Software Development for Windows Vista ActivityTrackingPoint / ActivityDataTrackingExtract
I have created a very simple Tracking Profile for my workflow as attached below. I am trying to track on Public properties from my Activity, yet when I run an instance I get an error saying it is unable to find this property on the actualy Workflow instance. eg. it will say cannot find "SampleWorkflow.Property" when I expected it to look in the current activity for the properties, not at the Workflow instance level - Does this make sense to anyone else < xml version="1.0" encoding="utf-16" standalone="yes" > <TrackingProfile xmlns=" http://schemas.microsoft.com/winfx/2006/workflow/trackingprofile " version="1.0.0.0"> <TrackPoints> <ActivityTrack ...Show All
SQL Server SQL 2005 Express and Visual Studio 2003 - Connecting
I have Visual Studio 2003 and had used it successfully with MSDE. I recently upgraded to SQL 2005 Express and cannot seem to connect to the SQL server. it appears in the list of servers on localhost, but when I try to create a new database it tells me that it "cannot create databases on this server." It will not even open up any existing databases. I have .NET 2.0 installed. I uninstalled SQL and reinstalled it, but nothing seems to help. I feel I must be missing something, but do not know what. I no longer have the MSDE installation files, so I hope I can get Studio to talk to SQL Express. Any help is appreciated. Just want to rule out the obvious, when you connect from Visual Stud ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Handling loss of communication in DirectInput
Hi, I'm using DirectInput (DirectX 9.0, October 2006), with a wireless Logitech Rumblepad (looks just like a PS2 controller). Everything works perfectly, except for the fact that I can't seem to figure out how to detect when the computer has lost communication with the joystick. Say for instance, I have both of the analog joysticks in the lower right positions, thus having the X, Y, and Z axis's at their max values, along with the Z Rotation at it's max value as well. Then, what happens if either the battery dies or the joystick is out of range from the receiver, is the last data that was read (in this case all the previously mentioned max values) are not reset to center, nor are exceptions thrown. I've tried using the InputLostException ...Show All
Community Chat Kyro KidSafe Browser (alpha)
Hello all, I am making a "KidSafe" browser for kids. Please download my program and post any noticed bugs,etc. It takes only minutes to set up. I am 10 years old, so who can make a browser for kids better than a kid Progress: Final will be started in January Thanks you everyone for your contributions and encouragement. *Has 3 tabs for browsing. *Has a "My Websites" button with up to ten of your programmed websites in it. Beta Features: *Has 3 tabs for browsing. *Has a "My Websites" button with up to ten of your programmed websites in it. *Talking Help guide *A new install program Updates in final version: *Button text replaced with graphics. *A game room with games, and fun KidSafe software (suc ...Show All
Smart Device Development How to increase Device Emulator's Screen buffer beyond 1MB
Whenever I set the screen resolution to 800x600x32bpp, I get the error, "The Screen buffer is limited to 1MB. Reduce either screen size or depth." Is there a way to increase the screen buffer beyond 1MB Thanks, rucky Hello All, I had tried the setting changes and when the new emulator starts up, it is a black screen. I don't get errors but is also didn't work. Did anybody get this to work Thanks in advance for any help :) Bob Hanson ...Show All
