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

Software Development Network >> Mark Flamer's Q&A profile

Mark Flamer

Member List

SunHunter
Lesego
The Mechanic
Erl Egestad
sql-bie
William Xie
KeithGWilliams
DegreeZ
simon_
Jim Perry
tcreevan
dethomps
Keith Sales
johnnysaucedo
newindotnet
velkan
Joshua Nobes
Whoisit
SweptSquash
SQLChamp
Only Title

Mark Flamer's Q&A profile

  • Visual Studio Documentation Compiler - Sandcastle

    We did code complete of documentation compiler ( code named "Sandcastle") on June 15th and currently we are testing the tool building our .NetFramework documentation. We would like to release the CTP version of Sandcastle in Microsoft download center by next week. The perf in our testing has been great as we are able to build the entire framework content in less than 1 hour. I am in the process of going through final check and code signing required to post this in our download center. Please expect the CTP in the next week or so and I will provide an update here as soon I post the CTP. Anand.. Thanks everyone for your posts. I have had several emails asking about CTP. There are couple places (download at our download cen ...Show All

  • Visual C++ destructors and SEH

    got code class A { public: ~A () { std::cout << "~A\n"; } }; void f2 () { int u = 0; //int z = 9 / u; throw (0); } void f () { A a; f2 (); } int main () { __try { f (); } __except (EXCEPTION_EXECUTE_HANDLER) { std::cout << "exc\n"; } } output : exc code : class A { public: ~A () { std::cout << "~A\n"; } }; void f2 () { int u = 0; //int z = 9 / u; throw (0); } void f () { A a; f2 (); } int main () { try //__try { f (); } //__except (EXCEPTION_EXECUTE_HANDLER) catch (...) { std::cout << "exc\n"; } } Output : ~A \n exc code: class A { public: ~A () { std::cout << "~A\n" ...Show All

  • Visual Studio Express Editions AutoIncrementing UniqueIdentifier column in SQL databse table giving NoNullAllowedException!

    Visual Basic 2005 Express: In my SQL database table, I have a CustomerNbr column. In Database Explorer's table definition it has "UniqueIdentifier" as it's data type, and is set as the PrimaryKey. In the XSD Designer, this field is set as the primary key, AutoIncrement=True. DefaultValue is <DbNull>, but, it won't let me remove this! When I add a record to the DataGridView, it correctly puts a "1" in the CustomerNbr column, but, when I update the record, I get a System.Data.NoNullAllowedException! >ok I think we have something here. >The database table, customers, had a schema change. So Delete "CustomerNbr" and create another field called "Cus ...Show All

  • .NET Development .Net application Eating Memory & releases when minimized

    Dear all, I have developed an application based on C#, The problem is "Garbage Collector being not called" from the application, i have not used any unmanaged code. The application is a Multithreaded application and the Memory Usages figure in Task Manager comes to minimum when i minimizes the application. Example: Task manager's Mem Usage is showing 328 MB and on minimizing the application it shows 45 MB. thanks in advance... aniruddh hi Chris, i am making an object of a particular class inside a for loop, when the control goes outside the loop those objects are not disposed. i am seeing in a memory profiler that other objects are being removed(when they go out of scope) bu ...Show All

  • Visual C# This BackgroundWorker states that it doesn't support cancellation

    hey i get the below exception when i am using background worker my code looks like this:-- Exception i got:----- This BackgroundWorker states that it doesn't support cancellation Mycode:----------- private void backgroundWorker1_DoWork(object sender, DoWorkEventArgs e) { someclass obj = new someclass (); BackgroundWorker worker = sender as BackgroundWorker; e.Result = obj.startprocess(someid, worker , e); if (worker .CancellationPending) { e.Cancel = true; }} public bool startprocess(String someid, BackgroundWorker bw, DoWorkEventArgs e) { bool bRet = false; while (!bw.CancellationPending) { try { somecode if (bRet) { processing code } } catch (Exception ex) { Console ...Show All

  • Visual C# How to schedule windows service in c#?

    Hi, I have created windows service in c#. I would like to schedule windows service manually or by coding .How can I do this. Actually, I am looking for My Service should start every day at 9’o clock in the morning and after some time My service should be stopped. As Microsoft has provided a Schedule Task in windows XP, where we can schedule any exe . In the same way how can I schedule any windows service to execute on specified time Any help is appreciated Regards, Rajesh You need to write a service controller, just like SQL manager for SQL server. It'll be a system tray application with a Time checking time after some interval and Start and Stop the service accordingly at that time. for Controlli ...Show All

  • Visual Basic How can i obtain the compilation date and the last modification date of a proyect.

    I want to put into a msgbox the compilation date and the last modification date of a proyect . Is possible obtain this dates from a variable or a function... ...Show All

  • Visual Studio Express Editions Print the contents of a richtextbox with formatting

    I would like to know how to print the contents of a richtextbox with formatting. If there is more than one font or color, etc in an rtb i would like it to print them correctly rather that the font and color of the whole thing. I have an editor that uses Ken's pointer's technique. The zipped solution is at http://users.adelphia.net/~gcumbia/printrtfnow.zip ...Show All

  • .NET Development Load image column from database into image control

    Hello all, I am using VB.NET 2005, and I have an image from database that need to load into image control in the form. This is what I got so far. 1) strSQL = "SELECT MyImage FROM ImageTable" 2) making connection to database 3) sending sql command to retrieve image from database cmd = new SqlCommand(strSQL,myconnection) 4) myReader = cmd.ExecuteReader() 5) myReader.Read() 6) Load image from DataReader into Image control 'This is the step I don't know how to do it. Please help Thanks very much. I am trying to load an image saved in Access to a picturebox in VB.NET. I tried the first link, which seems like it should work perfectly, but I am getting an error. Dim byt ...Show All

  • SQL Server Bug in MS Management Studio for SQL-Server 2005 while creating a publication!

    Hello, I found a bug in Management Studio, which can be reproduced with following steps: 1. Create a new publication with the 'New Publication Wizard' 2. Select a database which contains at least 2 tables. 3. Select 'transactional publicatioon' 4. Select at least 2 tables as articles 5. Set article properties for all table articles 6. Change 'Statement Delivery' to 'Insert statement', 'Update statement' and 'Delete statement' and save the article properties. 7. If you now check the properties for a single article you find that the 'Statement Delivery' is set to 'Do not replicate...'. If you generate this publication and create a subscritpion you will see, that actual no replication take place. It took me a while to find out why my replicat ...Show All

  • .NET Development DLL loaded twice

    Hi, I was looking at DLLS used by a process using ProcessSpy and found that the process has loaded two DLLs for few of the system dlls like Systsem.Drawing.Dll, System.Windows.Forms.Dll etc. For one of these DLLs the version is 0.0.0.0 and the other one has a valid version. Unfortunately, I can't add a snapshot of the window here. What I am wondering is, whether its pretty common to have this behavior or something is wrong in the taks, the way it is loading DLL. Thanks, -Brajesh Your guess might be right, as I see that the version 0.0.0.0 is being loaded from C:\windows\assembly\nativeimages1_v1.1.4322\system.windows.forms\1.0.5000.0__b77a5c561934e089_fa580ca7 and the other version is b ...Show All

  • Visual C++ Inheritance problem

    Please read below and tell me how can i get the correct member "i" and "c" in the Function() I have calsses such as class A { int i; char c; }; class CollectionA { CollectionA( A** ptr) { ptrArrayOfClassAObj ects=ptr; } Function() { for(int count=0;count<N;count++) { ptrArrayOfClassAObj ects[count]->i;/////Does Not yields me the correct i ; the member of its own ptrArrayOfClassAObj ects[count]->c;/////Does Not yields me the correct c ; the member of its own } } A ** ptrArrayOfClassAObj ects;//N Objects of Class A which had been newed. char c; }; class B: public A { B(int in1,char in2){ i=in1; c=in2; ///other members } //has some other members too which may be virtual }; class [from C to Z]: public B {. ...Show All

  • Windows Forms OnClick preceding OnEnter

    VS 2005 / XP Pro -- both with all service packs It is my understanding that the OnEnter event should precede most (all ) other events for a control but... Our application has a form on which is a Tab-control. We load a number of controls dynamically onto this Tab-control -- ComboBoxes, CheckListBoxes, and TextBoxes. We haven't checked all the Tabs, but on at least one of the Tabs the OnClick/OnMouseClick event precedes the OnEnter event for the ComboBoxes and CheckListBoxes (but not the TextBoxes). Controls that are added at design-time on other Forms' Tab-controls have the events fire in the expected order -- OnEnter and then OnClick/OnMouseClick. Is my understand of the sequence of events erroneous or can someone g ...Show All

  • Visual C++ Drawing outside of the application window.

    Is it possible to draw patterns outside of application window I'm trying to make a partial screen capture, and befor the capturing I waht to give the user an abbility to select the region he wants to capture. How can I do it This feature is implemented in the CamStudio program: http://sourceforge.net/projects/camstudio/ ...Show All

  • Visual C++ AVI Video file

    My video file have 2 channel language sound, does C++ can only play one of the channel or drop 1 of the channel Need expert help and explaination how to done it. thanks This question is off-topic for this forum, which focuses on usage of the Visual Studio IDE. Multimedia related questions can be asked in the following MSDN discussion group: http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.win32.programmer.mmedia&lang=en&cr=US ...Show All

©2008 Software Development Network