ComputerJy's Q&A profile
Visual Studio 2008 (Pre-release) Styles as Resources
Hi, I have a ControlTemplate defined as a resource: < ControlTemplate x:Key = " MyTemplate " TargetType = " {x:Type Control} " > <StackPanel > <StackPanel .Resources > < Style x:Key = " Style1 " TargetType = " {x:Type Rectangle} " > < Setter Property = " Fill " Value = " Red " /> </ Style > < Style x:Key = " Style2 " TargetType = " {x:Type Rectangle} " > < Setter Property = " Fill " Value = " Green " /> </ Style > ...Show All
SQL Server Instalation SQL 2005
Dear All, i tried to install SQL 2005 Corp Edition on XP Proff. but it can'nt install properly,there is something missing requirements. and there is a message "http://go.microsoft.com/fwlink/ linkid=50380", i tried to click the following links, but i dont know which one has to be downloaded. Any Idea..... By "Corp Edition" I assume you mean "Enterprise Edition". According to the OS Requirements Table ( http://msdn2.microsoft.com/en-us/library/ms143506(en-US,SQL.90).aspx ) the "Enterprise Edition" database server is not supported on Windows XP. However, you can install Books Online and the ...Show All
Visual C# Strange prolem with Culture settings
Hi, We are writing the .net application that should always work in en-US culture, regardless of the control panel settings. I was able to force the GUI culture to be en-US by the following code Thread.CurrentThread.CurrentUICulture = new CultureInfo("en-CA", true); Thread.CurrentThread.CurrentCulture = new CultureInfo("en-CA", true); After that the DateTimePicker components are always displayed in en-US culture, which is good. But the PROBLEM is that if I retrieve the the DateTimePicker value in the code, it comes in Control Panel settings again. To retrieve the value i use the following: pickerDate.Va ...Show All
Visual Basic Where are the Navigate Backward and Forward buttons in VS2005 VB Text Editor?
Hi guys, Does anybody know the answer on this stupid question I get used to click on these buttons in VS2003. It was quite comfortable to get back when I 'Go to Definition'. Now, in VS2005, I have to remember from what place I jumped to Definition in order to get back. I've ticked off the Tools->Options->Text Editor->All languages->General->Navigation Bar checkbox but it didn't help. Cheers, B7 it would be great if you had a Navigate Back option on the context menu, like VB had "Last Position" ...Show All
Visual Studio Team System Multiple Check Out
Does VS 2005 permit multiple check out of the same file from Visual Source Safe It really seemed like a step backwards from VS6 to VS2003 when only 1 person at a time could check out a project file. absolutely, you have freedom on choice whether you will allow multiple checkouts (VSTS has a merge tool also if there is multiple check-ins), allow people to check the file out, but you have exclusive check in (this allows people to work on the file, but ensures your changes are commited before any other check-ins are allowed), and exclusive checkout. thanks Michael ...Show All
Visual FoxPro Need help on a small open table code
Hi, I m trying to make a general opentable function that I will use with all my apps in the future. Now I need someone to explain to me a few things to see things more clear. Here is my code: function OPENTABLE(TABLENAME) LOCAL TABLETOOPEN *Ok this is just a full path I make for the dbf file. I do not know if it the right way.what it gives is eg. c:\program files\my app\data\mytable.dbf TABLETOOPEN=TOSTRING(checkpathforslash(GETCONFIGVALUE("DBF_PATH"),.t.))+TOSTRING(RTRIM(LTRIM(TABLENAME))) IF !USED(TABLETOOPEN) USE (TABLETOOPEN) IN 0 SHARED RETURN .t. ELSE RETUR ...Show All
Windows Forms Limit number of lines in a TextBox
Is there a simple way to limit the number of lines in a multi-line textbox that wraps I want to be able to look for soft returns as well as hard returns. You know what I really miss I could swear that somewhere along the way before .NET shipped, the Control class had a SendMessage method. Man, that was nice. EM_GETLINECOUNT&nbs ...Show All
Visual C++ Using MFC in an Empty Project
I'm a complete newbie to VC++ 2003, and I wanted to learn MFC programming so I am now looking at the book "MFC Programming from the Ground Up". Unfortunately, this book was written for VC++6, and I immediately hit a roadblock when I tried the first sample. Here's the code. Code: Code: #include <afxwin.h> // Derive essential classes. // This is the main window class. class CMainWin : public CFrameWnd { public: CMainWin(); DECLARE_MESSAGE_MAP() }; // Construct a window. CMainWin::CMainWin() { Create(NULL, "An MFC Application Skeleton"); } // This is the application class. class CApp : public CWinApp { public: BOOL InitInstance(); }; ...Show All
Software Development for Windows Vista Sharepoint services
What is required of the client, and how do I set it up Thanks I know that the service has to be instaled on 2003 server, and Office 2003 pro needs to be installed on the client. From there I am in the dark ...Show All
Visual C++ stringstream causes memory link VC++ 2005?
This simple program seems to leak LOTS of memory when compiled in VC++ 2005: int _tmain( int argc, _TCHAR* argv[]) { for ( int i = 0; i < 100000; ++i) { ::Sleep(1); std::basic_stringstream<TCHAR> str; str << _T( "Current iteration: " ) << i; } return 0; } CRT: Multi-threaded debug or Multi-threaded I compiled and ran the same piece of code in VC++ 2003 and I don't see ANY leaks! Any ideas Please help! Thanks in advance It looks like you're right.. From what I traced, the basic_iostream inherits from both basic_ostream and basic_istream - both o ...Show All
Visual C# setup project in vs2005 and windows installer
Is it possible to change (add) controls on dialog boxes in VS2005 Setup project user interface. For example predefined dialog box has 4 Radio button but I need to have 8 them. I did not catch how to customize dialog boxes and controls on them to extend range of selection during installation. ...Show All
SQL Server how to align data
I am not sure what combination or item from my toolbox to do the follwing in my ssrs 2005 report: I want sort of like a table that shows something like this: label1 value1 lable2 value2 label3 value3 I tried dragging a table but it has headers, footers, details...I don't want all that. I ended up having to use a combination of textboxes to do all this but the values don't really align well with the label textbox. Also, this is going ...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 vb2005 Or at least, where can I find some information of this matter Accessing a database typically requires a data access driver/provider of some sort. It ...Show All
Visual C++ error with afxwin1.inl
Using VS 2005 Express, I am trying to compile some sample apps I found on codeguru, but I keep runningn into these two errors when compiling as release: [code]C:\Program Files\Microsoft Platform SDK\Include\mfc\afxwin1.inl(1034) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int C:\Program Files\Microsoft Platform SDK\Include\mfc\afxwin1.inl(1036) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int[/code] I read on this thread: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=74017&SiteID=1 that the PSDK includes should be listed before others, such ...Show All
Visual Basic Display a list of files being copied during the copy process.
Im using the My.Computer.FileSystem.CopyFolder object to copy the contents of a folder on a CD-ROM to a folder on the harddrive. Is there anyway to have a label on my form that changes with each file being read. All my code is atm is this: My .Computer.FileSystem.CopyDirectory(UpgradeProgPath.Text, CurProgPath.Text, True ) Just a simple label that says "Copying: filename.ext" IE: Copying update.exe And have it change for each file in the folder being copied. Is it possible to do this at all Or is there a better way to do it than the My .Computer.FileSystem.CopyDirectory method I use using Synchro in .net 2003 but i'm trying ...Show All
