Software Development Network Logo
  • Visual Studio
  • Windows Forms
  • Visual C#
  • Audio and Video
  • Visual Basic
  • VS Team System
  • IE Development
  • SQL Server
  • Game Technologies
  • SharePoint Products
  • .NET Development
  • Visual C++
  • Microsoft ISV
  • Smart Devicet
  • Windows Vista

Software Development Network >> NBaig's Q&A profile

NBaig

Member List

Kapon
GaiaGeeks
pinoyz
XNA Rockstar
Suman Ghosh
Chrismogz
tornin2
clstephenson
LouisVanAlphen
Emmanuel Huna
a.s.viswa
Radoslav
tipCSharpy
Nickus
noorbakhsh
sennekeennes
Niro
logtorahul
MrJP
Will Merydith
Only Title

NBaig's Q&A profile

  • Visual C++ MFC CHeaderCtrl height & VS 05 Windows XP theme

    After updating my application to Visual Studio 2005, I can no longer set the height of CListCtrl header when using Windows XP theme UI. Previously I was able to set the header height by setting the header control font to a larger font but using owner-draw and drawing the the header ctrl using a regular font.. With VS 05 this no longer work. The header ctrl height does not change anymore depending on the its font. What is the appropriate mechanism of setting the height for CListCtrl header I need to display two lines of information for each header item and that's why I need to maker the header ctrl height larger. Found the solution on the web. Using the font size to set the CHeaderCtrl height of an MFC ...Show All

  • Visual C# How can I use xres Comment as xml comment in resgen generated classes

    I am using the resgen tool to generate a strongly typed class to access resources. The generated properties look like:    63   /// <summary>    64      ///    Looks up a localized string similar to foobar.    65      /// </summary>    66      public static string String1 {    67          get {    68              return ResourceManager.GetString( "String1" , resourceCulture);    69          }  &nb ...Show All

  • Visual Studio Installing Crystal Reports .NET Framework

    I am using a setup project to deploy my Windows forms application. Since my application uses Crystal Reports I have been executing CRRedist2005_x86.msi independently to install the Crystal Reports .Net Framework required by my application. I have identified Crystal Reports for .Net Framework 2.0 as a prerequisite for my setup project but it is not installed when my setup is invoked. Any information you provide would be greatly appreciated. Mike ...Show All

  • Visual C++ Can someone verify this for me, It's driving me nutz

    Basically I need the base class to have a virtual function that can call out. Here's a simplified example. #include <iostream> #include <tchar.h> class base { public : virtual void Initialize() { } }; class foo : public base { public : void Initialize( int a) { Initialize(); } }; class foobar : public foo { public : void Initialize() { std::cout << "I need to be here..." << std::endl; } }; int _tmain( int argc, _TCHAR* argv[]) { foobar f; f.Initialize (10); return 0; } Wojtek Jonathan Caves - MSFT wrote: The first is that name lookup in a class ...Show All

  • Windows Forms Threading Problem

    Hi I have a winforms application which does some database processing and updates a progress bar. As it does the processing, it also writes to a log file using log4net. I would like to add a Multiline text box to the application which can be used to display the a "tail" of the log file. How can I do this After you've appended characters to the TextBox' Text property, call its Update() method to force it to repaint itself. Using a BackgroundWorker to execute the database processing is possible too, use its ProgressChanged event to update the text. ...Show All

  • SQL Server Sync SQL2000 to SQL on an external Web Server

    Hello All, I would like to connect my SQL server which sits on a LAN to a SQL server on the internet and have them sync-ed. Both would basically contain matching information that needs to be the same at almost any given point in time. Can some one indicate how this would be possible Thanks MP Sorry about the delay. I am familiar that replication comes from way back. I also know that there are some bugs that can hurt like if ur meta data is not the same. What i would like to know though is any other way for doing the sync. Maybe a SQL script that runs and looks for changes in the datasets then does the update for you, and would this be schedulable in SQL without failing, a ...Show All

  • Visual C++ error PRJ0002

    Anybody know what this is ------ Build started: Project: MDI, Configuration: Debug Win32 ------ Compiling... New.cpp Project : error PRJ0002 : Error result 1 returned from 'C:\Program Files\Microsoft Visual Studio 8\VC\bin\cl.exe'. Build log was saved at "file://c:\Documents and Settings\(Removed)\My Documents\Visual Studio 2005\Projects\MDI\MDI\Debug\BuildLog.htm" MDI - 1 error(s), 0 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== Please search the forum for similar issues and see if any matches your case. Thanks, Ayman Shoukry VC++ Team ...Show All

  • Visual C# execute method from another form

    I would like to have a class with many methods used by all my project's forms. but how can access those methods available from inside of a form's class. thanks in advance, Edward well you simply create an instance of the class you wish to use, from any class (or any form, technically a form is a class file) and then execute the method however the method or property in question MUST be made public for other classes to access that method outside the class itself which has those methods. Example: //class Test public void DoTest() { //do stuff } //main form: Test theTestClass = new Test(); theTestClass.DoTest(); //will execute this method, since its accessible and exists in the ...Show All

  • Visual Studio Express Editions Autoclick submit & hyperlinks on webpage

    Using a webbrowser control, I navigate to a login page. Assuming my username and password is stored in a database or hardcoded... How can I automate the login by programmatically setfocus to the loginID and password fields and then autoclick the submit button, get to page 2, autoclick a hyperlink, get to page 3, autoclick hyperlink, etc. basically get the user to a page in the webbrowser by automating the login. Thanks for any help. I found the correct answer to this is by using GetElementById and HtmlElement ...Show All

  • Visual Basic What is Sub New() for ?

    Hello, What is Sub New() for I haven't found anything about it on the documentation. Thank you. Okay I understand, Shall I be worried about this for my VB program running (not a service running everytime) which eats about 40/70Mb of memory   Thank you all for your answering. ...Show All

  • Visual C++ Creating an Object

    Hi All, I have class, which is used for synchronization purpose the class is declared as follows Lock(CriticalSection& crSection) : m_CriticalSection(crSectio) { crSection.Lock() } The code will unlock the critical section in it's destructor. I'm using the class as follows in another class which has an critical section object Lock(m_CriticalSection); // Note that I'm not specifying the object name But it's saying that no default constructor available It's working fine for a class like this class CBase { public: CBase(int i ){cout<<"Ctor";} ~CBase(){cout<<"dtor";} }; int main(int argc, char* argv[]) { CBase(10); return 0; } What would be the problem Even if you manage to eliminate the error ...Show All

  • Visual C++ Porting from 2005 Express Edition Beta 2 to Professional Edition

    I am using Visual C++ 2005 Express Edition Beta 2. What should I do to port my code to Visual C++ 2005 Professional Edition Just open your project with VC2005 and the project wizard should do the conversion for you. If you face specific issues, please post. Thanks, Ayman Shoukry VC++ Team ...Show All

  • Windows Forms Binding Source Question

    Okay. Here's a tough one for all you experts out there. I have a form with several textboxes and comboboxes. There is a button on the form that will open another form. Each form has it's own tableadapter. Both tableadapters share a common field called Card_ID. I have created a relationship between the two tableadapters joined with the Card_ID field. Here's my problem. When the user clicks on the button on the first form, I need to "save" the record in order for the data that is entered into the second form to "save" because the relationship requires a Card_ID in a record on the first form in order to match it with a Card_ID from the second form. I've been able to do that, but when the user closes the second form, th ...Show All

  • Visual Studio Express Editions Random Number

    Could somebody explain to me how to produce a random number, say between 0 and 10 I had a look around the net, but it all seemed a little complicated.Thanks in advance, Dim R As New Random MsgBox(R.Next(0, 11)) ...Show All

  • Smart Device Development ifstream, char* and Windows Mobile 5 STL

    Hello, This code, which works perfectly in regular C++, is driving me crazy when run from a WM5 MFC project (also tried Win32). char * temp = "cities.shp" ; reader->open(temp, std::ifstream::binary); This code is run from the constructor of a derived class. Is there anything I need to know about ifstream and char on Windows Mobile devices Thanks MUCH! - Brent I have tried with WCHAR (and wifstream), but it still doesn't work. Is the standard template library i/o supported in Windows Mobile If so, if the file is in the same directory as the app, shouldn't I be able to address the file just by name Also, there might be a problem with memory management. If I am using MF ...Show All

©2008 Software Development Network