Kea's Q&A profile
Visual C++ C++ calling C# Dll -> EEFileLoadException in debugger but works correctly if I just run from windows directly.
I have a C++ application usings a DLL written in <Managed C++> that connects to a web service. My code is : hAuthDll = LoadLibrary("AuthSrvClient_w32.dll"); authtx = (AuthTransactionType)GetProcAddress(hAuthDll, "AuthTransaction"); authtx("URL", "UserName", "Password", pData); MessageBox(NULL, pData->Response, "HERE", MB_OK); Theres also some error checking omitted. When I try to run the program thorugh the VS2k5 debugger it always cra ...Show All
Visual Basic Blair Allen Stark
Here is the problem I am working on. It asks me to use the method CalculateCharges, but I don't fully understand how to do this or how it works. I would be grateful for any input. Lab Problem III A parking garage charges a $2.00 minimum fee to park for up to three hours. The garage charges an additional $0.50 per hour for each hour or part thereof in excess of three hours. The maximum charge for any given 24-hour period ...Show All
SQL Server Concatenating Strings
Suppose that I get a resultset of state abbreviations from dataset. Is there a way to write a code so that final output would be concatenation of states separated by a ",". I tried maintaining a variable in the "Code" block of the report. Apparently, the delcarations do not work as expected. I want to do something like this: Dim str As String and then str should be updated as each row gets rendered. Is that possible Thanks. You may want to ...Show All
Windows Forms Row validating event not firing in datagridview2005
Hi, I have a datagrid and a button in my screen. The rowvalidating event for the grid has been added in the code. When i enter invalid data in the grid and then press button with out leaving the cell in the grid the event is getting fired. But on subsequent clicks of the button the row validating event doesnt seem to be firing. e.cancel of rowvalidating event is set to true once its fired so that event should get fired again and ...Show All
Smart Device Development Deployment Errors in PDA
Hi, We are gettiing the following Deployment Errors when we are running a PDA application : =================================================== ------ Deploy started: Project: PDA-RSMS, Configuration: Debug Pocket PC ------ Deploying to Pocket PC Device using TCP Connect Transport Error: Cannot establish a connection. Be sure the device is physically connected to the development computer. ...Show All
Visual Studio Express Editions Starting C++
I am very new to programing. I want to use C++ Express to build forms. Eventually I will connect these form to SQL database. The problem at the moment is when I open C++ Express a window showing code opens not the "Form1" window the "getting started" information indicates should open. From this information can someone tell me what I am not doing correctly Dennis You should be able to double click on the class name an ...Show All
.NET Development Compare 2 directories
Hai Friends, How can I compare 2 directories in c#. If you have send me the code. GSVS This is a general framework question and better suited for the .NET Base Class Library forum. I'm moving the post there. Note that even if you want the post in C# you should post on the forum that most closely matches the nature of the question. Please reserve this forum for C#-specific questions. As for your question it can either be tr ...Show All
Windows Forms Forms and Async calls
Hi, I'm wondering what the best practice for the following scenario is. I have a WinForms client that utilizes an async socket client that I wrote. When I do call a BeginSend method or anything from the UI thread, the response returns in an internal thread and not the UI thread. So, publish events and update the UI I have to use invoke for any call that returns. Since I can not call Invoke in the client part I have to do it in any control that s ...Show All
Windows Forms .NET Framework 1.0 deployment with "/Q" command line option
Why doesn't the "/Q" (Quiet install option) command option work when I install the .NET framework on my PC (W2K Pro). Once executed it asks for user intervention to continue the installation via the wizard. I am trying to get SP2&nb ...Show All
SQL Server inner join on reverse records
I have some data that looks like this Col1 Col2 SumCol XXX,YYY, 5 XXX,ZZZ,6 ZZZ,XXX,7 YYY,XXX,2 I want to do a inner join on that data so I get this XXX,YYY, 7 XXX,ZZZ,13 Right now I'm using a CTE set to do that, is there a better way akula wrote: I want to do a inner join on that data so I get this XXX,YYY, 7 XXX,ZZZ,13 Why that should't be a YYY, XXX, 7 ...Show All
.NET Development About Singleton and queed requests
Hi, I have one query regarding performance. I have an remoting application which is using IIS as host. I am using the singleton objects. What i want to ask is, if I send say some 10 request for the same object (e.g starting the same screen by some 10 users at same time), thus my 10 requests will get queued or it will be served at same time If it is getting queued, what is the best solution to sort out the issue This is causing the grea ...Show All
SQL Server SQL help
I need to get the all the row for the value 11 from the below table. Could you give me sql statement for this. create table teststring(a varchar(25)) insert into teststring values('11:02,05:BL') insert into teststring values('16:03,11:RS') insert into teststring values('13:01,04:LL') insert into teststring values('16:05,11:RS') drop table teststring Hi Guys, Your idea is correct but i feel this could be a p ...Show All
Visual Studio Tools for Office Install with vsts team site july
I found the framwork of vsto July version is 2.0.50630.0 and vs team suite is v2.0.50712.Any one know whether vsto july version work with vs team suit july.thanks Not tried it personally, there is a big push to bring all these upto sync, I believe there is a build being readied for PDC and a push for this. Regards Mike Walker MVP Visual Developer VSTO ...Show All
SQL Server Browsing SSAS (2005) Dimensions from Excel
Hi all, I am having difficulty understanding why my dimension names aren't showing up in a pivot table field list when I browse SSAS 2005 cubes from Excel 2003 (using the 90 PTS OLAP DLL). Has anybody else experienced this problem where the dimension names aren't being made visible Unfortunately all I see are my attribute names and these, by themselves, are extremely ambiguous. Just wondering if there are any quick and easy fixes or ...Show All
SQL Server XML Bulk Load schema question
I was wondering if someone could point me in the right direction with a schema file for importing XML into a DB - the XML file has multiple sublevels, all of which need to be imported into a single table. I have it functioning "to an extent", meaning part of the file is imported - however, some of the sublevels have been driving me nuts, and I am not sure how to get it to work for all of the columns. ANY HELP WOULD BE GREATLY APPRECIATED - I've ...Show All
