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

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

kharulli

Member List

MARIU5
Charles Trindade
KitG
MGray
Sean Sandys - MS
kloepper
Ian Picknell
Nian2000
ncarty97
Omid_
philip007
salomon
izm_ka
hedelein
Inmon
Dinesh Reddy N Y
Ernstjan Freriks
RobinLennox
benneh
omar seyam
Only Title

kharulli's Q&A profile

  • Visual C# Loading word file in richtextbox in C#

    hello, i have already loaded the txt file in the rich text box in C#, but using the same style, i caanot load the word file or any other files like .pdf in rich text box. i would be thankful if anyone could solve my problem. You have to convert your Word File (.doc) into a supported file format like RTF. A great article about converting .doc file can be found here: How to convert DOC into other formats using C# . ...Show All

  • Windows Forms Panel control autoscroll problem

    I've had a problem with the Panel control in the past.  I had child controls that would adjust their height based on the available width.  These were docked one after another to the top of the panel.  The idea was to have something that would reformat itself after the user resized the form (similar to what IE does when you have a&nb ...Show All

  • Visual C++ MSVS 2005 Managed C++ dll, needs a Dialog in /clr:oldsyntax.

    Hello, MSVS 2005 Managed C++ dll, needs a Dialog in /clr:oldsyntax. The Dll just needs to display a dialog to accept a password. 1. My first choice was an MFC CDialog from the class wizard; yeilds: "a mfc class can only be created in an mfc application." Sensible enouph, 2. Could I link to the app and get the same effect using #include "TextDialogDlg.h" gives a "CDialog undefined", I include <afxwin.h> and some other header...winforms i think...and I get a variety of link errors. windows.h already included and such. 3. Ran across WinForms! Don't know what they are (precisely), but gave it a shot. ...Show All

  • Visual C# Test Zanebug Resource access issue

    Hi, I have an application wich requires internationalization. So , I used an instance of ResourceManager class and .resx files in order to translate the texts. I succesfully build and run the application. Further, I tried to run tests on the application using Zanebug. I wrote a simple test: [Test] public void TestCheckTracing() { MyForm form = new MyForm(); form.Show(); Assert.AreEqual(1,1); } When, I run the test, I get the following exception: System.NullReferenceException: [Resource lookup failed - infinite recursion detected. Resource name: Arg_NullReferenceException] at System ...Show All

  • Windows Forms UserControl Terminate, Close, Exit, etc.

    Does anyone know of a way to determine when a UserControl is being closed by the user in C# There used to be a Terminate event in VB6 that you could capture. I can't find anything like that for UserControl. UserControls exist on a Form. There is no way to close UserControls. You close the containing Form. Or is that what you're asking How a UserControl can detect when its parent form is being closed If so, the UserControl can just subscribe to its parent's Form.FormClosing event like this: namespace FormCloseCapture { public partial class UserControl1 : UserControl { public UserControl1() { InitializeComponent(); ...Show All

  • Visual Basic check collection

    Hi all, I have a really simple form, with a combo box with some items in the collection. Is there a way in code I can reference to see if the text on the cbo is that which corresponds to the collection IE. Private Sub btnSomething_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSomething.Click if me.cboMyCombo.text = ITEMS IN COLLECTION then do something else msgbox("Selected item does not correspond to items in collection") simple answer is yes...iterate through the collection and compare the items to the string: for each I as item in collection ...Show All

  • Visual C++ mfc42.lib

    I am compiling a simple project using the directx sdi and it wants mfc42.lib , now there is a 64bit mfc42.lib but no x86 version , i have googled like crazy only 55 hits for mfc42.lib i cannot seem to dowload it from anyplace for x86. bug dropped ball any advice greatfully recived [edit] Compiling on beta 2 [Additional] The link to mfc42.lib is in AFX.H from the latest PDSK mfc and it seems that the latest AFX has some real issues with 2005 beta 2, such as linking to non existant libs in the debug conditionals in afx.h and then the linker throws up 300 or 400 unresolved external links for a reason that remains known only to itself as th ...Show All

  • Visual C++ error LNK2019: unresolved external symbol

    Hello, I am very new to Visual Studio, so I apologize if the answer to this question is obvious. I am using Visual C++ 2005 Express Edition and have downloaded Platform SDK. When I compile, I get the errors given at the end. I don't have any external .lib files that need to be included (at least I don't think so) In my linker settings I have Console (/SUBSYSTEM:CONSOLE). Thank you. 1>------ Build started: Project: CImg_demo, Configuration: Release Win32 ------ 1>Compiling... 1>CImg_demo.cpp 1>Linking... 1>CImg_demo.obj : error LNK2019: unresolved external symbol __imp__SetDIBitsToDevice@48 referen ...Show All

  • Windows Forms Can .Net applications run on Windows ME?

    I am building an application with Visual Studio .Net. I have both the first version and 2003. What I have been reading is Framework 1.1 will not run on Windows ME. Are there any know problems with framework 1.0 running on ME George Yes it will, but not doing develpemnt( asp.net especially) ...Show All

  • Software Development for Windows Vista Problems with the PSDK installation

    I use Microsoft Visual C++ Express Edition and I wan't to download Platform SDK.Very good....I have downloaded the PDSK file and start the installation.But at 50% of installation I receive a error: "A necesary file from C:/Windows/Installer is corrupted." But I have an antivirus (BitDefender 9 Internet Security) and I have tried on another Windows XP system from my computer (I have 2 Windows XP) an I received the same error.What I can do Help me.... PS: I don't speak very good english because I am from Romania, and I am 15 years old I am moving this to the windows team since they own the ...Show All

  • Visual Studio Method Parameters in Diagram?

    How do I display the method parameters in the diagram I can only see the return types. If you want a preview of this feature, you can download June CTP and try it out.  Of course, it comes with the usual caveats of a CTP.  See http://blogs.msdn.com/robcaron/archive/2005/06/15/429278.aspx for more details. Ramesh. ...Show All

  • Visual Basic .config in control

    Hi all, i've got a .config file wich i use in a application  (vb.net 2003)   i'm binding (dynamic properties) the .config file to properties in a control. When i drag n drop the control on a form i got a error and the instance of the control is removed from the form The error is something like this Exception occurred while trying to make a instance of subformacties "The key sql.connectionstr does not exist in the configuration section" Tnx in advance   Johan Stenberg wrote: If you are using Visual Studio 2003, I would suggest that instead of binding the property in the user co ...Show All

  • SQL Server setup.exe /qb REMOVE=ALL instancename=test

    Hello , I am using MSFT SQL Server 2005 (v 9.00) and have 3 databases listed under Database when I launch SQL Mgmt Studio These are: Deva, Devb, Test I have to UNINSTALL and REMOVE only the TEST instance. I did following: setup.exe /qb REMOVE=ALL instancename=test I launch the above from C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap> but it does NOT UNINSTALL that TEST instance... can anyone please help me on this Whats the BEST WAY to remove a DB Instance via COMMAND LINE.... NOTE: I have to use COMMAND LINE only to uninstall... please help THANKS! Mr. Bombay ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. How can I draw a line with pencil like effect ?

    I'd like to draw a line with GDI+ like a line on a paper created with a pencil. Can anybody point me to an example or an article that explain the technique Thank you, Andrea I will try your idea Christian. I will break my lines or curves into several segments and for each one I will assign different thickness. Your help is really appreciated Andrea ...Show All

  • Windows Forms Need help permanently maintaining the rectangle after a button click

    Hi all, This is a very simple UserControl which only contains a button on it and when this button is clicked, it draws a Rectangle object. However, I am having a problem that this Rectangle gets disappeared after it's covered by some other windows form(I hope you understand what I mean by this ). I know that if I want to permanently maintain it I have to draw it in the paint method but I want to draw this rectangle only when the button is clicked so it doesn't seem appropriate if I place the code in the paint method. So...would anyone please tell me how this can be done in a way which most people would prefer Thanks a lot. Publ ...Show All

©2008 Software Development Network