JCtfs's Q&A profile
Smart Device Development CCommandbar with cmenu
I try to insert a menu to ccommandbar, then delete a submenu in it. Is there any example on ccommandbar with cmenu m_cmdbar = new CCommandBar(); m_cmdbar->Create( this ); m_cmdbar->InsertMenuBar(IDR_MENU1); HMENU hMenu = m_cmdbar->GetMenu(); CMenu* pMenu = CMenu::FromHandle(hMenu); CMenu* submenu = pMenu->GetSubMenu(0); BOOL i = submenu->DeleteMenu(ID_OPTION_NEW, MF_BYCOMMAND); m_cmdbar->DrawMenuBar( ...Show All
Visual C# How can I use spelling checking and grammar checking in my windows application
Hi Friends, I'm now creating an application to check spelling and grammar like MS Word can do. I don't know how can I use these features in my application, could you please help me. Regards, You have three options 1 - write the code to do the checking yourself 2 - use Word to do the checking for you ( which means your code will require Word on all target machines ) 3 - find another existing compo ...Show All
Visual Studio Team System TFS B3R and Office12
I've installed the TF-Client on a computer with Office2003 ... all worked just fine. Then I upgraded to Office12 B1. Now Excel and Project have problems to connect to the server: TF84034: Team Fundation was unable to initialize the workbook. This document will no longer be associated with a Team Foundation server: TF80071: Team Foundation ecountered an error while accessing the work item database. Please contact the Team Foundation Server admin ...Show All
Visual C# combobox and WebService dataSet
I have a WebService in wich i have DataSet with one table named "Predmet". So I wrote a method like this: public DataSet1 VratiDataSet() { DataSet1 faca =new DataSet1(); return faca; } in my Win Aplication i have binding combo box with my data table like this: private void Form1_Load(object sender, EventArgs e) { DataSet mojDataSet = mojServis.VratiDataSet(); comboBox1.DataSource = mojDataSet.Tables["Predme ...Show All
Visual Basic Securing Application
Hi I was wondering how can I implement a security system to protect my programs when they are in the market, like for example Windows XP serials Lets say I take out my program Xwidget and they get sold, how can i implement serial numbers, in the program and how can i generate the serial numbers that the software can accept. Don't want to depend on third party install generators. Or can someone give me direction on how to do this wit ...Show All
Visual Studio Express Editions Change Label.text from within a module?
In an application I'm developing, I'm starting a thread from main form. That thread calls a function from within a module. In the main form, I want to update the text of a label while the function is executing. From within the function, I have a Do...Until statement. Inside the do...while, I have a char variable which changes value. I want to pass that value (single char) back to the main form.... Here's what I'm trying... Form1.vb h ...Show All
Visual C# Tips on posting
Here are some tips on posting, so that your questions could likely be answered quickly. 1. Make your Title as significant as possible . Compose it in a way that you would ask an expert. example - "How could I change a Buttons Background " instead of "button background problem" 2. Explain in detail the nature of your dillema . But please make it short, straight to the point but descriptive. 3. Provide steps on reproducing your proble ...Show All
Visual Studio Express Editions System requirements for SQL Server 2005 Express
My Computer's RAM is 128MB, and I don't want to upgrade right now. Should I still go ahead and install SQL Server No, I do not think you should install it. http://msdn2.microsoft.com/en-us/library/ms143680.aspx Minimum RAM 192MB Recommended 512MB If it install I am not sure if you will have a very plesant experience running it. Wait until you have upgraded the memory. ...Show All
Windows Forms DataColumn.Expression IIF problem
I am trying to create an expression column in a typed dataset as follows: dcC.expression = "IIF(dcA=0,0,dcB/dcA)" but when I do this I get a 'System.DivideByZeroException'. Apparently, both the truepart and falsepart of the IIF are being evaluated for e ...Show All
.NET Development Scalability application writing in C#
Dear expert, I want to write a game software, which will have Server Program (Service, in C#) and Client Program (in MFC). I need to develop server program, which should be scalable. The no of add on server is not fixed, so extra server will add as processing speed will slow down. So how would I design my application so that I could easily achive the scalability Do I write own code for scalability Or what ...Show All
SQL Server Enterprise Publisher to Express Subscribers (2005)
I implemented a merge replication publication on a SQL Server 2005 Enterprise instance on a test server. On my laptop I have VS.NET 2005 installed with SQL Server 2005 Express. It's my understanding that I can subscribe to a publication with Express. I also have SQL Server Workgroup installed on my laptop so I'm able to use Management Studio to control the Express instance. The first issue I encountered was that you cannot subscribe to a public ...Show All
Visual C++ SxS errors when moving to Windows XP x64
Hi all I created a test 32-bit application with June CTP which uses a couple of Boost dlls and MS CRT dlls. When I copy all these files to a win64 box, I get "The application failed to start because the application configuration is incorrect" error message. When I disable SxS manifest generation/embedding app starts to work fine. How can I fix the problem and stay with SxS On my 32-bit XP Pro SP2 it works both with and without the manifest. ...Show All
Visual C# build / debug functionality missing?
hi. in vs2003, it was possible to have a build configuration where _no_ project was selected. that way, one could simply build a single project inside the solution using the build command. when the solution was run, however, the ide would still fetch all current versions of all assemblies and copy them to the main projects runtime directory before launching the debugger. thus, it was possible to do a local build of an assembly and still test tha ...Show All
Visual Studio Tools for Office VSTO2005 performance
Hi, We currently have a SmartDocument that is used on multiple clients. The Document Actions pane for this document retrieves various information through a Web Service. Now we want to use VSTO2005 because it's a much more flexible and robust environment. The only question we have is about performance; will the new technology perform faster, equally fast or slower than the SmartDocument Thanks in advance. Stephen ...Show All
Windows Forms Help with classes
Hi there, I have a form created in vb.net, which uses a Text Box called TextBox1. A second class in a seperate file needs to change the contents of the textbox. How can I do this One way in which you could do ...Show All
