Software Development Network Logo
  • Visual Basic
  • VS Team System
  • Visual C#
  • Game Technologies
  • Visual FoxPro
  • Visual Studio
  • Smart Device
  • Windows Live
  • Windows Forms
  • SQL Server
  • Windows Vista
  • .NET Development
  • VS Express Editions
  • Architecture
  • Visual J#

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

C4jun

Member List

DotFrammie
WordScript
zgueney
Cheng Du
Steven Randolph
Varadaraj R
S.Mc
icipos
IvanMorales
Michael__H
MandatoryDefault
Andrea43086
ChipDowns
Miechu
Amar_k_solai
ckzulueta
wmkesen
woolybutt
The Markus
rccopter
Only Title

C4jun's Q&A profile

  • Visual C# sentence case string

    How to convert uppercase string to sentence case string in C# e.g. input: HI ALL! I'M A NEWBIE. PLZ HELP! output: Hi all! I'm a newbie. Plz help! Here, I just wrote this as this made me curious.  I know this could probably be done a lot better by iterating over a chararray and changing the case depending on flipping a bit to indicate it was necessary but I was lazy and used strings: /// <summary> ...Show All

  • Windows Forms How to calculate and display current memory usage in an application?

    Hi everyone, How does one go about calculating and displaying the memory (in megabytes) being used by an application I have the following code (and have tried a few variations), but none ever seem to match up with the memory displayed in the Window ...Show All

  • Visual Studio 2008 (Pre-release) Canvas, Shapes, and Events. What's happening here?

    I've noticed some interesting behaviour with events on a Canvas, and I was just wondering what is going on. I have a custom GridControl with a Canvas on it, that has a handler for the Canvas MouseDown event. uiElement.MouseDown += new System.Windows.Input. MouseButtonEventHandler (uiElement_MouseDown); I've added some PolyLines to the canvas, and I've noticed that if I click on the lines, then my event handler doesn't get called. So o ...Show All

  • Visual C# Creating Partial Class in VS2005

    Hi, I am new to VS. How can i create partial class in VS2005 do i first have to create the class and specify it as partial regards, rnv Yeah, just create a class and put the keyword "partial" in front of the keyword "class". That's all there is to it. ...Show All

  • Visual Studio Report from Variables Only - VB 2005

    Hi everyone, I've read several docs on Crystal Reports but I couldn't find one that shows how to print a report using variables only.  Basically I need the report to print the value of 6 variables I already have in memory and don't need to store on a DB. The report will print 10 invoices (10 pages).  Due date and invoice number are the two fields that change on each page.  The report should print on a pre-printed form.  Am I ...Show All

  • SQL Server SELECT INTO using a data-flow

    Hi, A T-SQL INSERT INTO operation inherently expects that the destination table already exists. However, the T-SQL SELECT INTO operation works by creating the destination table as it inserts the data. Like INSERT INTO, an SSIS data-flow inherently expects that the destination table already exists. Can anyone figure out how you might be able to do the equivalent of a T-SQL SELECT INTO operation using a data-flow I'm thinking a custom de ...Show All

  • Smart Device Development Undefined Externals, TrackPopupMenu and VarBstrCmp

    I have a large CE workspace that I migrated from CE 4.0 to CE 5.0 using the built in conversion tool in VS 2005.  When I try to compile any of the COM dll's I get the following series of linking messages: 1>UniversalDataForms.obj : error LNK2019: unresolved external symbol VarBstrCmp referenced in function "public: bool __cdecl ATL::CComBSTR::operator==(class ATL::CComBSTR const &)const " ( 8CComBSTR@ATL@@QBA_NABV01@@Z) 1>Univer ...Show All

  • Visual Studio Team System error trying to get to default report builder page

    Hi All, I have everything setup as far as I can tell. I have been working in the visual studio creating reports. I deployed my project, but I can't get the http://servername/reportserver " page. I get this error: An internal error occurred on the report server. See the error log for more details. (rsInternalError) Get Online Help File does not exist. Can someone please tell me what file does not exsist TIA, Joe ...Show All

  • Windows Forms Scroll Bar

    Hello, I am making a word Prossesor, and For my Textbox I have made it a multiline texbox, but I need a scroll bar for it. I have looked in the Tool Box and have not seen any Scroll Bar controls... What can I do Thank You If you are building a word processor I think you'd better use RichTextBoxControl. But to answer your question: you can enable scrollbars by using  the ScrollBars property.  This triggers the ...Show All

  • Windows Forms Editing OSD file when create CAB deployment project

    Hello, If you've tried creating a CAB "setup and deployment" project and compile, you'll discover the VS.NET 2003 IDE automatically creates the OSD file for you. It happens that I want to change a few lines in it (for including an INF file) but I can't a way to edit and save it in the project. Of course I can create the .CAB file then replace the OSD, but that loses the point that I have to do so every time when I build the packa ...Show All

  • Visual C++ C++ in VS2005: Enable automatic copy of depentend 3rdparty unmanaged dlls

    Hi, I am creating a managed C++ class library that uses several unmanaged old-style C++ libraries (with .h, .lib and .dll files). These dependent dll-files are located on a specific path on my computer, but each time I create a C# application that uses the managed C++ class library (which again uses the 3rd-party unmanaged dll-files), I have to copy these files to the bin-folder of the C# application. Is there some way I can a ...Show All

  • Visual C++ Calling C++ dll from C#

    I am trying to use a C++ dll in my C# application but unsuccessul. Here is what I have done: 1. The C++ code was developed using open BSD. 2. I made a C++ CLR dll using visual studio 2005 - "tc.dll" 3. In my C# application, I add the "tc.dll" as a reference from the solution explorer 4. I tried to instantiate the class of tc.dll using myClass mc = new myClass(); The C# program can not find the class at all. ...Show All

  • Visual Basic radio buttons on internetexplorer.application

    I am writing an application to modify the configuration of several IP Phones with VBA.  The phones are configured through web pages.  I need to change some radio buttons.  I am using the internetexplorer.application object.  When I try to modify a radio button value I get an error.  How can you modify the radio buttons on a web page with vba.  Here is part of my code        Set ie = Cre ...Show All

  • Windows Forms how to display tooltip for infinity time?

    hi, I want to know how to display a tooltip forever as long as the mouse still at the control. I only find AutoPopDelay property to set the time but cannot set the time to be infinity. anyone can help thanks in advance I notice that there is a protected method on the ToolTip class called StopTimer. It seems to be what you are looking for. Only problem is that you would have to created a derived ...Show All

  • Windows Forms Serializing a Collection

    I have a control that has a Collection Property on it.  How would I go about making that collection serialize say by serializing it into calling AddRange and passing in all the items of the collection   I tried a TypeConverter using Instan ...Show All

©2008 Software Development Network

powered by phorum