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

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

vivekanand

Member List

Stefan Wenig
Icsoft
SathyaKV
Dennes Meeusen
andris11
Hi Its Me
Zappos
mme0927
@nt
n1patrick
jd_says_godawgs_sicem
klacounte
Patrickh60
Khamul
sonap
Ibrahim Hafidh
domls
13Cats
KissDaFeetOfSean
Drake_beh
Only Title

vivekanand's Q&A profile

  • Visual C++ STL with VC71

    Question regarding STL on VC7.1 (MSVisual C++ .NET 69586-335-0000007-18460) My challenge is a linker error when I attempt to use STL strings. I can define the string (e.g. std::string exStr;) without error, but can't assign it (e.g. exStr = "test string";). I've tried linking in libraries as suggested in other forum threads, including libcp.lib, libcpmt.lib, or msvcprt.lib, but to no avail. Here's the specific error: VCCService error LNK2019: unresolved external symbol "void __cdecl std::_Xlen(void)" ( _Xlen@std@@YAXXZ) referenced in function "private: bool __thiscall std::basic_string<char,stru ...Show All

  • Visual Studio Tools for Office VSTO doesn't install on my PC

    When I try to install VSTO 2005 on my computer it reports the error that Office 2003 SP1 is not installed on the computer. The computer has installed Office standard version 2003 with SP2, I installed Access 2003 later. Initially I removed Office 2003 from the system and re-installed Office 2003 (standard) with SP1 and Access, still the same error, VSTO will not install! Exploring the VSTO CD I found some comments and ran vstor.exe, but still VSTO will not install, my questions is now; what should I do rgds Frank I have the same problem installing VSTO. My Environment: Windows XP pro english Visual Studio 2 ...Show All

  • SQL Server Left Outer Join

    Hi All Dudes and Dudesses Please help... I've got Two tables, Problem and Breach, in DB Support. The main Table (Problem) has a primary key on field Number and I retrieve most of my data from this table but the other fields are irellevant. The Breach Table includes fields: Number & Keyword. I use an Left Outer Join to connect from Problem.Number to Breach.Number and retrieve the Breach.Keyword if any. If there's no records in Breach it still retrieves all the Problem.Numbers and that's great but when there's more than one Breach.Keyword for the Problem.Number I retrieve more than one record at this stage but I would only like to retr ...Show All

  • Visual Studio 2008 (Pre-release) RichTextBox Control and Inline Elements

    I'm parsing a the text entered into a RichTextBox control. Currently, I'm displaying the error by underlining the text where there is a parse error and displaying a tool tip containing the error message when the user hovers over the underlined sectioned. I'm accomplishing this via creating an Underline Inline Element in the FlowDocument in RichTextBox's Document propert like this: TextRange textRange = new TextRange(rtbExpression.Document.ContentStart, rtbExpression.Document.ContentEnd); try { _expression.Source = textRange.Text; if (_expression.Validate()) { //need to figure out how to remove ...Show All

  • Visual C# How to change LinearGradientBrush with location (performance optimizations)

     Hi , I have a graphics application which draws thousands of rectangles(or paths) on the screen at different locations. Each rectangle uses a LinearGradientBrush to draw itself. I am forced to create one brush for each rectangle because if I use a brush created for one rectangle, at a different location it does not draw properly, even when both rectangles are of the same size. I tried creating/destroying the brushes in my Draw routine but the drawing becomes really slow. So I created brush instances for each rectangle at load time  and simply used them in Draw. This increased the speed but ofcourse the memory footprint also increa ...Show All

  • Visual Studio 2008 (Pre-release) Memory Leaks in UIElement.Arrange()

    I'm using Microsoft Prerelease Software WinFX Runtime Components (February CTP Build). I have memory leaks in with UIElement.Arrange(). If you run the following code: class WPFMemoryLeak { public static void Main(String[] args) { long initialMem = GC.GetTotalMemory(false); int counter = 0; while (true) { Rect rect = new Rect(0, 0, 300, 300); UIElement ui = new UIElement(); ui.Arrange(rect); if (++counter > 100) { long memoryBeforeGC = GC.GetTotalMemory(false); GC.Collect(3); GC.WaitForPendingFinalizers(); GC.C ...Show All

  • Visual C++ Changing tab order on dialogs

    Hi, I have set of property sheet pages created as ususal using a dialog template and displayed using the regular CreatePropertySheetPage and PropertySheet functions. I have to create/destroy some controls on the tabs during execution (after the property sheet is created) Things work fine up to this point. However, the tab key navigation does not work as I want it to. Specifically, I need the newly created control to take focus on tab key movement from the control that visually/logically precedes it and pass focus to the control that appears next on the UI. Putting all possible controls on to the template and hiding/showing instead ...Show All

  • Visual Basic New to Vb 2005

    Hi friends, I am New to VB 2005, I have a professional subcription of MSDn..hw effectively can i use ,y subcriptionn...I developed a project in VB 6.0...but i am satisfied i need to convert my project to VB 2005..is there any simple way or I shud redevelop the entire project.. Also in VB 6.0 hw can code tro make my form Auto scroll and adjust with the screen resolution.. Please help..me Thanks, Bjorn There is a conversion tool provide with VS05...you can convert the entire vb6 project at once or use the tools menu to convert one procedure at a time... HTH ...Show All

  • Visual Studio Team System Command line itemspec (sometimes at beginning; sometimes at the end)

    There seems to be no ryhme or reason as to where the itemspec/filespec shows up in a command line.  Some command line LOCK want it at the beginning and others like UNDO want it at the end.  Does it matter   If so, how about picking one and sticking with it.  :-) Are you referring to the documentation or the actual behavior   The command line itself shouldn't care about parameter order except in a few cases (e.g. you can't do 'tf.exe branch target src'). ...Show All

  • Windows Forms TabControl: Custom TabPageCollection?

    I'd like to hook the TabPageCollection of the TabControl in order to fire events when pages are added and removed, is there any way to have the TabControl construct my TabPageCollection object rather than it's own I'd like to have functionality similar to overriding the ControlCollection of the Control object using CreateControlsInstance. Thanks, Ray Controls is inherited from the TabControl's base class, Panel.  TabPages is a typed collection, but contains the same objects.  TabControl.Controls will only contain TabPages. ...Show All

  • Visual Studio Express Editions dim problem

    i want to know when i use dim expression like that dim a,b,c as integer would a be integer b and c become variant or all of them become integer they say in vb6 theres something like that but in vb.net does it exist or problem solved thanks What happened when you tried it (and who are 'they' anyway ) There's no such thing as a variant in .NET, so a and b in your example will not be a variant. Displaying a.gettype returns a System.Int32, so, I suspect b will be as well. bottom line is that they are all the same type (but cannot be explicitly initialized when declared like the so). ...Show All

  • Windows Forms .NET 1.1 Project With File-Based Reference To A .NET 2.0 DLL Not Working

    All-- Please help I have a design that requires that a given .NET 1.1 WindowsForms client application must include a file-based reference to a DLL that was built with .NET 2.0. Unfortunately, I cannot get it to work. The VS.NET 2003 IDE will simply not let me add the reference. Ug. I have tried several tests, detailed below, but I have yet to find an answer. Can it be done If yes, then how can it be done If no, then what is the work-around What do you think Please advise. ------------------------------------------------------------------------------- Overview: In in a .NET 1 project, try adding a file-based referen ...Show All

  • .NET Development Set cookie from Internet Explorer hosted windows user control

    Hi everybody. I have a (c# VS 7) Web app that uses an Internet Explorer hosted Windows User Control. I need to set a cookie on clients' machine from the IE hosted control. Does somebody know how to do that I would appreciate any suggestions. Thanks in advance! Bozesan Mihai ...Show All

  • Visual Studio Express Editions datagrid

    can any proffesional help me on datagrid i want date and time write in cells automatic when another cells while fill and if this cells not fill then other cell not write time and date       I want when i fill any cells in column1 automatic enother cells in column 2 will fill with time now and date Try this instead: If Coming_tblDataGridView.Rows(i).Cells(0).Value is Nothing then ...Show All

  • Windows Forms Setting a FormView value to a Session Variable?

    I have a page that has a formview that is using "table A", and a session value is stored called session("PROPERTYID"). On the same page is a gridview that uses table B but links to Table A via the same session variable. When a user clicks a button I have a new formview open that allows records to be input into table B. What I can't figure out, is how do i save the session value as one of values that is saved with the insert I think what I need to do is modify my insert parameters but don't know how... < InsertParameters > < asp : Parameter Name ="PROP_ID" Type ="Int64" ...Show All

©2008 Software Development Network