Worachart's Q&A profile
.NET Development the System.Net.Mail ????
Hi, I wanted to ask about the System.Net.Mail. How to use this name space in Visual C++. I cannot seem to find it. It is available in VB and VC# but not in VC++. Best Wishes Anyway, thanks. Im working my way with the web.mail, which is somehow fine. You really saved my day. cheers :-) ...Show All
.NET Development Retriving string from serialport
I have been trying to get the sample serial port code to work. Function ReveiveSerialData() As String ' Receive strings from a serial port. Dim returnStr As String = "" Using com1 As IO.Ports.SerialPort = _ My .Computer.Ports.OpenSerialPort( "com1" , 2400, IO.Ports.Parity.None, 8, IO.Ports.StopBits.One) Do If com1.IsOpen = True Then MsgBox( "Opened" ) End If Dim Incoming As String = com1.ReadLine ...Show All
Visual Basic Connection String not initialized...
System.InvalidOperationException: The ConnectionString property has not been initialized. at System.Data.SqlClient.SqlConnection.Open() I was wondering what i was doing wrong when i built my application it works fine as long as i compile it....But when i try to shoot off the exe file it give me this exception and help on how i should fix this thanks Sounds like perhaps you are not distributing your Configuration file Where is yo ...Show All
Smart Device Development Problem building DLL project with VS 2005
Hi. I had a fairly large project that I was developing with eVC++ (SP3). I used the handy conversion wizard to upgrade to VS 2005, and, for the most part, it worked nicely, with the exception of a few minor tweaks in the settings. However, I'm having a consistent problem that I can't seem to find any good advice on. Whenever I try to build, I get two errors (though the second is dependent on the first): error LNK2005: DllMain already define ...Show All
Windows Forms Sorting Treenodes in treeview
I am trying to figure out how to sort the treenodes in a treeview. I am allowing the user to add and update the nodes and their text at runtime. Therefore, I need to implement the Sort procedure in the AfterLabelEdit event. However, there are a few problems I'm not sure how to address. Has anyone done this I can't seem to find a good answer. My treeview is only 1 level deep. A parent node can only have child nodes and those child nodes canno ...Show All
SQL Server Why is there no warning if an input to an Aggregate component is not sorted
All in the subject. Donald Farmer wrote: Anyone here. We have this as a possible refinement for the future, Jamie. In fact there are a range of optimizations that sorting can enable, such as Max and Min aggregates, and Top-n, Bottom-n. Something to look forward to! donald Cool. That makes sense - thanks Donald! ...Show All
Visual C++ Getting MS-Access Tables Information
Hai, Iam developing VC application which Selects any .MDB Database(MS-Access). The requirement is..My Application should popup the list of Tables which contains primaryKey. Can you pls tell me how to the retreive each table information in Access. (From MS-SQL i acheived this..using SQLGetPrimaryKeys()).....! But this API is not Supporting For Access... VamsiDhar.MBC SoftwareEngineer Hi, check this in MDSN: http://msdn.microsoft.com/l ...Show All
Visual Basic Setting Custom PaperSize
Hello guys, I am a basic Programmer... The task I need 2 do is print a small bill using dot matrix printer. The problem I am getting is abt the paper size.. The paper size in which I have 2 print the bill is about 6X3.5". I haved searched some posts also and found the usage of system.printers.papersize class to set the custom papersize. but I am not being able to find the reference 2 system class and use if.. ............................... ...Show All
Visual Basic Message Box in VB.NET
Hello All, How to create a messagbox in VB.NET Windows Application with Yes | YesToAll | No | Cancel options I wanted to ask the user's permission to overwrite his details. Then a message Box should pop up with these options Is this possible as it is supported by Mocrosft os. How can this be possinly done in VB.NET Please Help Lisha Hi Lisha, I'm sorry i don't have it installed. I wrote it in VS 200 ...Show All
Visual FoxPro Accessing FoxPro 2.x tables from VFP 9
Hi, i have found, that VFP 9 cannot optimize selects / updates / deletes on FoxPro 2.0 tables - it does not use any indexes defined for these tables. When i was manipulating these tables from VFP 6, there has not been problems and all selects / updates were optimized. Can someone help me to find solution for this Thanks in advance Yes, but with temporary SET ENGINEBEHAVIOR 70, there is no problem with op ...Show All
Visual Studio 2008 (Pre-release) Callback to windows form
I have just started acclimatizing to WCF and VS2005 and would appreciate some help with a really basic newbie problem. I am trying to modify the duplex CalculatorService sample to use a windows form client instead of a console. The service calls the client callback methods ok and the parameters get passed to the client, but I can't get the data to display. My first conclusion was that the callback comes in on a different thread so I have ...Show All
Visual C# scoped inheritance of a base class
Is it possible to scope my inheritance in C# For example, if I have public members in a base class and I don't want them to be public in the derived class, then how can I accomplish this The following code causes a syntax error... is there another way public class ClassB : protected ClassA Also have a look at this thread , where this subject was discussed earlier. ...Show All
Visual C# Spectrum Analyzer Question
Ok. This is actually a very odd question it would seem. But I would like to know how to create a Spectrum Analyzer. I know it has something to do with FFT (fast fourier transform) algorithm, but I just dont know where to start. If someone could help or point me in the right direction it would be appreciated. Maybe DirectShow can do this for you. You might want to try asking somewhere like: http://forums.microsoft.com/MSDN/ShowForum.aspx Fo ...Show All
Windows Forms What's up with the stats page?
Not that it's been all that exciting to look at lately, but what happened to the chart on the stats page Well, this is no good, now is it I'll take a look and see what I find out. ...Show All
Visual Studio Team System TF30162 Error Project Creation Wizard encountered an error while uploading documents to SharePoint
Hi Can someone here can help cos my head is getting sore with this one. It appears my problem is slightly different to the other TF30162 posts here so far. I am getting an error on project creation uploading documents to sharepoint services. This happens for me from a clean install. I have never been able to create a project. Thanks heaps Joel 2006-01-18 15:38:48Z | Module: WSS | Thread: 7 | Creating site with the following parameters 2006-01-1 ...Show All
