Mike Dalziel's Q&A profile
Visual Basic error in BTRCALL call
hello, I am new in BTRCALL handling. when i used BTRCALL in my project it fire error runtime error 49 : "Bad DLL calling convention". why this error occurr I am posting code. please help me to resolve this problem. or any one tell me how to use BTRCALL ( pervasive database ) in VB 6.0. dim dummy as long STAT = BTRCALL(BRESET, dummy, dummy, 0, dummy, 0, 0) where it also f ...Show All
Smart Device Development HP 6515 and GPS
hi i am have just got an HP 6515d with build in GPS am trying to read from the GPS but no luck have searched the forums and found some articles but still no luck my try to read data from the gps is by using a simple SerialPort and wait for data i dot know if you have to turn on the gps in some way first or what am programming in C# on . NET CF 2.0 Pocket PC 2003 SE is there sombody that has some experience with reading from the GPS on HP 6515 h ...Show All
Visual Studio Express Editions Progress database and VB
I'm totally new to everything, which has something to do with vb 2005 express edition coding, databases and so on.... but anyway I got myself interested in vb2005 express and I followed the video lessons. There I found some interesting things... databases for example, and how to access data from SQL Server. At work we have Progress databases. Now at last to my question: How can I get data out of our Progress databases, using ...Show All
SQL Server When to reindex
Hi All, Just a quick question, I am fairly new to the SQL Server world. Can someone tell me when I should rebuild an index Is there some bench mark A magic number Should I be looking at certain statistics Thanks Chris Hi Chris, I'd start with this white paper: http://www.microsoft.com/technet/prodtechnol/sql/2000/maintain/ss2kidbp.mspx Regards, ...Show All
Visual Studio VS 2005 Script Explorer/Running Docs
How can I set a break point in client side javascript In VS2003, I could run the web application, then in the Debug menu choose Running Documents, and see all the script files - just open one up and set a break point. Easy Now in VS 2005, the Running Documents window is renamed Script Explorer, and I can see all scripts sent to the client, but when I try to set a break point, I get a message that says "This is not a valid location for a break po ...Show All
Visual Studio 2008 (Pre-release) Are there any plans for typed XML data access?
DLinq uses entity classes which can be generated from DB by SQLMetal. This allows typed access to data (you are not forced to use names in quotes and casting). This is great. But for XML there is no such possibility now. XLinq is much better than DOM but it is still untyped tree like DOM. This is disappointment for me. I would like to have possibility to treat XML in typed way (like XmlSerializer). Are there any plans for C# 3.0 or 4.0 to p ...Show All
Visual C# Visual C# express edition help
Hi, I downloaded Visual C# express edition . I can get only Help for some things. All the time I typed F1 to get help for certain thing, I get: Information not found. It seems that the help files arn't complete, eventhough I installed the nvironment perfecly. How can download the complete help, to use it as local help... Please help. Regards... There was a fix for the Help system released after the Beta 2 r ...Show All
Visual C# Nice Threads!
I could really use some help here... I am using C# 2005 and have created a splash screen that runs on a seperate thread. I can invoke the splash screen in the Main() method, but then I can't get rid of it! I am attempting to put a line in the Form1_Load (or maybe Form1_Shown) that calls a static method in the splash screen to close that form. But, when I do so, it complains about an invalid cross-thread operation. How can I get this screen to ...Show All
Windows Forms Databound listbox not updating
I have a list box bound to a Name property in a custom class. How do I make it show changed data I have a NameChanged event and when I trap that in the form and show the listbox.text value in the debug window it is differen ...Show All
Visual C++ /FC compiler switch apparently not working
Hi all, When trying to output the __FILE__ predefined macro, I always get the file name fully qualified regardless if I have /FS set or not as a compiler option. Is this switch not working, or is there some other compiler switch that is forcing fully qualified path names There is no /FS compiler switch. There is a /FC compiler option, that causes the compiler to display the full path of source code files p ...Show All
Visual C++ Problems in System::String::Split... can't understand why this dosn't work...
I'm trying to have a system::string that is a list of arguments separated by '#' character broken down into individual arguments and placed in an array, like so CODE cli::array<__wchar_t,1> ^charsplit = {'#'}; arglist->Split(charsplit, this ->listBox1->Items->Count,System::StringSplitOptions::None); arglist2->Split(charsplit, this ->listBox1->Items->Count,System::StringSplitOptions::None); /*(I also tr ...Show All
Visual Basic Opening a powerpoint show inside a .net form
Hi, can any one help me in this as i have to open a .pps file in a .net form but there is no such control i found in .net which open this .I tried to open it in a browser control which is working but is asking for "open or save " options which i dont want to apear ....... I'd recommend you check out the PowerPoint developer resources here: http://msdn.microsoft.com/office/understanding/powerpoint/ The PowerPoint ...Show All
Windows Forms Reduce load time in UserControl that uses WebServices
Hi, I have a UserControl that is deployed in IE. The control makes calls via webservices to the backend system. I am trying to reduce the initial load time of the control. It seems that a large amount of time is spent during the first cons ...Show All
Visual Studio Tools for Office how to export/import data from/to excel files without using excel?
am makeing a program that uses excel files but i don't want the customer to have to have execl to have the program working (i have excel) is there a way to do it wihout using excel components You could use the ServerDocument support in VSTO 2005 to extract/inject data into the spreadsheet. You can read more about ServerDocument at http://msdn2.microsoft.com/en-us/library(d=robot)/microsoft.visualstudio.tools ...Show All
SQL Server Importing an XML file with hirarchial data
Hello, I would like to import an XML file containing hierarchial data into a table in SQLserver. I guess that I am supposed to use the XML source editor and connect it to the xml file containing the following: < xml version="1.0" > <VariantFamilies> <VariantFamily FamilyID="XXX"> <FamilyDescription Language="en-GB">Variant Family Description in English</FamilyDescription> <FamilyDescription Language="sv-SE">Va ...Show All
