Quinch's Q&A profile
Visual C++ Unicode error
when i move my code from VC6 to VC8, following code is error. WriteLogFile in Line 4367 Code: if(endcon .entry_type != VOC_ENTRY_ARRAY_END) { WriteLogFile(2, "Voc: !! 音板%d的通道%d播放 音失 , 束 件 有 置最 ", cardid, channelid); gChannelStruct[cardid][channelid].StateMutex.Unlock(); return -1; } Error: d:\work\voccard api\voccard.cpp(4367) : warning C4819: T ...Show All
.NET Development HttpWebRequest and SSL
I need to communicate with a web server using https just as a browser would. What steps are necessary to achieve this using HttpWebRequest, is it as simple as the URI beginning with 'https://' or do I need to supply some credentials of some kind I dont have a certificate myself (the server does) so I wont be using client authentication but I assume this is how browsers operate. Will data be encrypted in both directions using h ...Show All
Windows Forms [C#]datagridview copy/paste entire rows
Hi all. Any suggest to select an entire row and copy/paste to new row on a datagridview thx. I have the same question. The problem is not COPY from the DataGridView, but PASTE into the DataGridView. It is fairly trivial to handle the KeyDown event and spin through the clipboard data. But my contension is that CTL + v IS NOT A PASTE !!! (did I emphasize that enough ). CTL + V is a character sequence. Wh ...Show All
.NET Development Assembly strong binding
Hi, I have strange problem: I try to build .NET application which use Microsoft.DirectX assembly, but i have installed more than 1 version DirectX SDK on my PC and now i have such problem: //=========================================================== Error 1 The type 'Microsoft.DirectX.Direct3D.Device' exists in both 'c:\WINDOWS\Microsoft.NET\DirectX for Managed Code\2.0.0.0_x86\Microsoft.DirectX.dll' and 'c:\WINDOWS\Microsoft.NET\Di ...Show All
Visual C# In VB6, we've DriveListBox, is there any similar control in C# of VS - 2005?
I want to show all the drives in my machine, and user should be able to select one of 'em.. Plz. guide me. http://www.c-sharpcorner.com/Code/2002/Feb/FileDialogCB.asp may help you out a bit. Cheers, Greg ...Show All
.NET Development Exception: "...The connection was closed unexpectedly." (sometimes)
RE: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=209544&SiteID=1 I have a windows app connecting to a webservice. In some situation(s) (haven't narrowed it down enough), I get the following exception: The underlying connection was closed: The connection was closed unexpectedly. When this exception is thrown, it is calling a method of a web reference. The SOAP data transfer fails. Now the situation that we experience this ...Show All
Windows Forms Deployment of vb.net application with MSSQL DB
Hi, I developed a project with visual studio dotnet, with 1.0 frame work version. I am having SBS 2000 server (SQL DB) and my machine having win 2000. I have develop project on my machine its work fine and compile application RELEASE mode. Its working fine on my machine. Now i want run this application on win 98 client system in my organisation. All client systems are of win98 so please advise me how could i proceed. ...Show All
Visual Studio Express Editions making a cell only numeric
Hi!!! I’m using the DataGridView control. I add columns manually and I want let the user can enter numeric values only in certain columns. How can I do this Thanks hi, i'm not sure from this but you can try it, datagridview is just a representation of your dataset, you can edit your datatype for this column in your dataset designer to be integer hopfully it helps ...Show All
Visual Studio 2008 (Pre-release) Why FirstOrDefault method aways gets all records from database?
The FirstOrDefault extension method work properly but it aways perform a sql query with no where clausule in database returning all records! Thanks, Vitor // This performs a SQL clausule with a where clausule // A exceptions it's returned when no results founded Enterprise enterprise = db . Enterprises . First ( e => e . ID == 181); // This performs a SQL clausule with *NO* where clausule // All ...Show All
.NET Development ASPNET and Windows Installer (MSI) LockPermissions Problem
Hi All, Not sure if this is right forum for this question, but I'm having problems writing a windows installer for an ASPNET application. We have an ASPNET application we are trying to distribute using Windows Installer (MSI). The ASPNET user needs write permission to several directories for writing temporary export files and report images. We setup the LockPermissions table in the MSI as follows: LockObject Table Domain User ...Show All
Smart Device Development coredll.dll
Where can i find a guide or manual or Reference for coreldll I find in this address http://www.pocketpcdn.com/articles/password.html an example for set, get the system password on pocketopc. But this code is in c++. Is there an example in C# Thanks Alessandro I can't find a managed example, but this article does have a list of functions: http://msdn.microsoft.com/library/default.asp url=/library/en-us/dncenet/html/wincesec.asp You can ...Show All
Visual Studio 2008 (Pre-release) I keep getting this error, what is it saying...
Error at element '' in markup file 'Window1.xaml' : Exception has been thrown by the target of an invocation.. < Window x:Class = " proctester.Window1 " xmlns = " http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x = " http://schemas.microsoft.com/winfx/2006/xaml " Title = " qa " Height = " 300 " Width = " 300 " > < Window.Reso ...Show All
.NET Development Calling the GC.Collect method
I have a code like this : public void SetFrmLoginNull() { frmLogin = null ; GC.Collect(); } This method is in FrmMain. But when i run a code analyzer from some tools i have, it's said that i shouldn't explicitly call GC.Collect(); b'cos it had side effect. I just need some comment from you all regarding this topic. Any Comment Salvador, Also for the rest of the thread, the ...Show All
SQL Server Concatenate 2 date fields to show longdate format
How can I concatenate 2 date fields so that they show the date in long format i.e 18 March 2006 to 21 March 2006. I can get the expression to concatenate but I want to format the dates as above. Thanks I believe you can use this... =CDate(Fields!date1.Value).ToString("dd MMMM yyyy")&" to "&CDate(Fields!date2.Value).ToString("dd MMMM yyyy") where you can replace ...Show All
Visual Studio Express Editions Let's go to work on an FAQ for this Forum
The concerted work that goes on here in really impressive. I'm also thinking about a mass mailed note I received from S. Somesegar, corporate VP of Microsoft development. He said that MS Engineers were not alone in building VS2005. Customers had a lot to do with it to make it as neat as it is. Continuing in that vein, I though it may be a contribution to see if we can't put together an FAQ that will take care o ...Show All
