Lok_Tan's Q&A profile
Visual C++ Errors, Help!!!
When I try to include string like: #include <string> I always got following errors: E:\MicrosoftVisualStudio8\VC\include\cstdio(37) : error C2039: 'Unsafe_sprintf' : is not a member of '`global namespace'' E:\MicrosoftVisualStudio8\VC\include\cstdio(37) : error C2873: 'Unsafe_sprintf' : symbol cannot be used in a using-declaration E:\MicrosoftVisualStudio8\VC\include\cstring(20) : error C2039: 'Unsafe_strcat' : is not a member of '`global namespace'' E:\MicrosoftVisualStudio8\VC\include\cstring(20) : error C2873: 'Unsafe_strcat' : symbol cannot be used in a using-declaration E:\MicrosoftVisualStudio8\VC\include\cstring(21) : error C2039: 'Unsafe_strcpy' : is not a member of '`global namespace'' E:\MicrosoftVisualStudio8\VC\i ...Show All
SQL Server sql server connection
hello, before i'm using vb-access, now i would like to shift to vb8-sql server. i have here sql server express. i can make a connection with them but when i run my application to another pc, i cannot install it and i don't know if my connection will be working. i'm using a peer-to peer networking. please bear with me, this is my first time to do this stuff. can somebody explain it to me please thanks You said you're doing peer-to-peer networking. I recommend you use SQL Server Authentication for this to make it a bit more simple. Then, on your connection string, specify "Data Source=computername\SQLEXPRESS;Initial Catalog=sample_database;uid=name;pwd=password;" ...Show All
Smart Device Development Designer: DataGrid Dock property loses its value during form inheritance
Hi, VS 2005, CFv2. Its easy to reproduce this problem. Create new form FormBase, drop DataGrid, set dataGrid.Dock to Fill, inherit form Form1 from FormBase. Now Form1.dataGrid.Dock is None. Thanks, Tom. Please submit a bug report: http://connect.microsoft.com/Main/content/content.aspx ContentID=2220 ...Show All
Visual C# How to use c # to write shrinking algorithm?
Algorithm use c # language is described shrinking Can write the code example thanks 1: 0,1,9 2: 4,8,4 3: 7,3,3 4: 3,1,3 5: 7,3,6 6: 2,5,5 7: 4,5,9 8: 5,5,8 9: 5,0,4 10: 7,3,5 11: 1,9,3 12: 0,3,5 13: 5,5,0 14: 8,1,4 15: 9,1,6 ------------------------------------------------------------------------- Has appeared the data through above, calculates the next group of numerals ---------------------------------------------------------------------- 16:(0-9,0-9,0-9)//Each digit is 0-9 random number ...Show All
SQL Server msde2000 Installation
Hi Im installing MSDE2000 on new Machine Pentium IV LGA Processor HT technology; OS Windows 2000 Professional. Its getting roll Back after some installation. The same setup if im installing on my other new Machine With Scoket 478 Processor OS Windows2000 Professional. Its installing completly. Is there any compatibilty problem. Please Advice me what to do. Thanks In advance Can you supply us with the exact error message you are receiving from the failed MSDE install One other suggestion would be to install Express as opposed to MSDE (unless, of course, there is a particular reason you need to go with MSDE). Thanks, Sam Lester (MSFT) ...Show All
Visual Studio 2008 (Pre-release) AJAX style XAML generation on the server?
Hello, does anybody know, if there is a way to create XAML with C# or VB dynamically on the server, and interpret it, without compiling, at the client Similar to HTML with JavaScript in today’s AJAX based browser apps Regards Thomas Hi Mike, thank you for your answer! Why is IIS 7 needed to achieve this I think any web server/programming langue can create XAML. But this is not my problem. My problem is, that pure generated XAML without C# or VB works well. But when I generate a simple XAML document with, say an C# event handler, I get an error on the client “compilation required”. Bye Thomas ...Show All
Windows Forms Real Semi-Transparent panel
I created a class that inherits from panel. The idea is to put it in front of the form to avoid the user from using the controls while an async function is taking place. I managed to make it completely transparent by turning on WS_EX_TRANSPARENT as in the clase below. public class TransparentPanel : Panel { protected override CreateParams CreateParams { get { CreateParams cp = base .CreateParams; cp.ExStyle |= 0x20; // Turn on WS_EX_TRANSPARENT return cp; } } Now, I'd like that when the TransparentPanel is over the form, it looks grayed-out. Is it possible to do that Thanks a lot in advance Create a new Image in Microsoft Photo Editor: Col ...Show All
Windows Forms svhost.exe error
I've recieved an svhost.exe error any tips ...Show All
Visual Studio Express Editions Help move exe to another PC
Hi everybody. I'm using VB C++ 2005 Express I got a problem moving my exe file to another computer, and I wonder if anybody else has had the same problem. When I move the file and execute it, Window come up whit an error messaged. I have installed VB Run-Time and updated .NET framework to 2.0 one the computer but I can’t get it to work. I hope someone can help. I already installed Run-Time 6.0 and .NET framework 2.0 one the other computer but I still won’t run the application. ...Show All
Software Development for Windows Vista Creating XPS docs , without having any Source UI
Sorry for this ambiguous subject line :) We are having a Usercontrol (all code based, no xaml) in .net 3.0, this usercontrol, shows us some pictorial representation of data for a certain period of time say 6 hrs. After each 6 hrs. we want a pic / snapshot of this UI in the form of a file, so that in later course we should be able to review it / print it. Right now, it's like taking the picture snap from the device context itself (it was a GDI code in .net 1.0, which we revamped completely to WPF). The point is we can still do tthat but what happen if somebody closed the UI thing, then obviously we can't force the user to open it again, just ebcause i want a snapshot of the data at the end of 6 hrs. So what i think is If poss ...Show All
Visual Basic CallBacks, or what do I really need?
Hi, Are you using .NET 2.0 If so, you can use the BackgroundWorker. Here is an example: http://geertverhoeven.blogspot.com/2007/01/using-backgroundworker.html Greetz, Geert Geert Verhoeven Consultant @ Ausy Belgium My Personal Blog ...Show All
Visual Studio Tools for Office How to access the Navigation Pane in Outlook 2007 using VSTO 2005
Hi, I have encountered some problems while trying to access the Navigation Pane in Outlook. What i wanted to do is that when I select on the items in the Navigation Pane, I wanted some event to be triggered but i cant detect that i have select the item in the Navigation pane. e.g Navigation Pane contain Mail, Calendar, Contacts, Task, etc. I select on Mail and i want an event to be triggered how can i do that pls help (Sorry for the bad english) Thank you VSFW3 The new NavigationPane object has a ModuleSwitch event that gives you the new module in the pane. You can get at that from the ActiveExplorer object. ...Show All
Visual Basic how to add vb.net project to vss(visual source safe)
i dont know how to add the windows application into vss in vb.net 2005 and i dont know how to use the vss can u plz send me the links where to learn how to add project to vss and how to use vss web links General Documentation on Sourcesafe with VS 2005 http://msdn2.microsoft.com/en-us/library/ms299291.aspx This hsould provide you with details on how to use and what it gives you. Source code control gives you ability to retain versions of the source files - so you can track the changes that were made. This allows you to identify source code changes that were made for bug fixes, different versions of product etc. and enables you to rollback changes if you figure that the change needs to be backed out. ...Show All
.NET Development failed to connect to an oracle 8i database
Hello everybody, I hope someone would be able to help me… I need to programmatically talk to an Oracle 8 database located in a remote server. I have installed the client oracle 8 + Toad into my computers (Windows XP) and I have no problem connecting to this database by using toad. Then I added the System.Data.oracleClient dll to my project, imported it and tried to connect via my application, and had the ORA-12560 error. I can’t open the connection. My connection string is : “BaseName. UNIV-PARIS.COM (from the names.default_domain in the sqlnet.ora file); user id= ; password=” Have you any idea of what my problem is Thanks you for your help, Susana I thin ...Show All
Visual Studio Team System Installing Team Build
I created a build that I want to run every night on my team foundation server. When I ran it it says: System.Web.Services.Protocols.SoapException: TF42046: The build service used in the build process is not reachable. This error occurs when either the build machine is off-line, the required service is not running, Team Build in not installed on the build machine, Team Build... I guess the team build is not installed on that machine I found some instructions about running the setup.exe in the bb directory on the team foundation server cd, but there is only one there for Build. Some of the stuff I've read about installing it is a little scary. What is the official procedure for installing the team build on the team foundation ser ...Show All
