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

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

tattoo

Member List

SuriP
rpskumar
akks
powerevan
Tom De Cort
LankyNibbs
graced
IS dude
rajesh_batchu
Solrac Otr
Mark Boettcher
deathknight2005
tonofit
Jay Thomas
champagne_charly
K::ot???ter
WayneSpangler
Tom_Liu
Marzk
tyler2424
Only Title

tattoo's Q&A profile

  • Visual Basic How to convert Coordinates to image?

    Hi, I want draw a image using X,Y coordinates.(Ex- (88,50)(86,49),(87,48)) Can some body give me idea how to draw a bit map using co-cordinates. Thx & best rgrds Roopesh Apart from the obvious speed implications of a large array, is there a reason you cannot do something like this dim bmp as new drawing.bitmap(w, h) dim g as drawing.graphics = drawing.graphics.fromimage(bmp) for each pt as drawing.point in myarrayofpoints() g.drawline(pens.black, pt, pt) next ...Show All

  • Visual C# Underline text

    I was wondering if there was any way to underline the text of a string... Application: For right now I am outputing a bunch of strings into a message string to display in a message box. Later I will be outputting to a text file. I have searched the MSDN Lib to no avail; if someone could point me in the right direction, that would be great. Can you use HTML code in VC# Thanks Thom I guess here is my problem then... I have a form where users enter info for a MLA style format citation. They enter it into text boxes which I format into a string (strCitation) which I then turn into rich text ( uiBookRichTextBox.Text = strCitation) which I save to the file. I need to be able to add to the original file so I can ...Show All

  • Visual Studio Documenting the App_Code directory ASP.Net 2.0

    Sandcastle is working Ok, and I'm using the "Sandcastle Help File Builder", and its working. But the problem, with ASP.Net 2.0 the xml file for the App_Code directory is not being created. I added this code (found elsewhere as a suggestion) to the Web.config file to get the xml for the other classes. < system.codedom > < compilers > < compiler language = " vb;vbs;visualbasic;_vbscript " extension = " .vb " type = " Microsoft.VisualBasic.VBCodeProvider, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 " compilerOptions = " /doc+ /optionstrict+ " /> </ compilers > </ system.codedom > Any ideas of h ...Show All

  • Visual C++ Problem with CString Variable

    I am using a dialog class which is derived from another generic dialog class which itself is derived from CDialog This class contains many CString varibles and it is working fine. Later I added another CString variable. Then also the corresponding dialog is properly opening(Modal Dialog), but after closing the dialog I am getting the following Assertion: Run-Time Check Failure #2 - Stack around the 'dlg' was corrupted When I click Retry it is taking me to the next statement from where the dialog is initiated using DoModal() method. Here I found one strange behaviour. If I put any char , int or float variable before this CString member variable I am not getting any error message. But If I put double variable I am get ...Show All

  • Windows Forms center the Form's caption text

    how can i center the form's caption text in C# 2005 Here is a VB version if you want to convert it: http://www.ostrosoft.com/vb/projects/center.asp ...Show All

  • Windows Forms OutOfMemoryException "Error creating window handle"

    i am getting an OutOfMemoryException somewhere deep inside the Windows Forms code while i am trying to do "mainForm.Visible = true" i have plenty of unused RAM, there are no memory usage spikes. google gives me a lot of messages reporting this is a [pretty unexpected] reaction for and unhandled exception in one of my form event handlers - can anybody confirm such rumours also, i have AppDomain. UnhandledException handler but it is never called System.OutOfMemoryException: Error creating window handle. @ at System.Windows.Forms.NativeWindow.CreateHandle(CreateParams cp) at System.Windows.Forms.Control.CreateHandle() at System.Windows.Forms.Form.CreateHandle() at System.Windows.Forms.Control.CreateContr ...Show All

  • SQL Server SQL 2005 upgrade Problem - In place upgrade

    Hi, We are running a test upgrade form sql 2000 standard edition 32 bit to sql 2005 developer edition 32bit. Followed through all the steps and specified the account(SA priveleges and currently used by the 2000 version) and is the local admin on the box for the services and the setup seemed to move fine, except for when it got to the point of installing database services - This is the error message that I got: MSSQLServer could not be started. Verify you have sufficient priveleges to start system services. The was no choice but to hit cancel and then the set up progressed with a final message of 'SEtup failed'. Here is a portion of the error log: Attempting to recover in-doubt distributed transactions involving Micros ...Show All

  • Visual C# Inaccurate/Wrong calculations

    Hi, I working on a fairly large project in C#, combining numerous components such as SQL and DirectX. We all, however, seem to have come across a severe problem! We can't do basic arithmetic! For example, in VS.NET 2003, I need to subtract two UTC style time values - eg 11565456546546.1342345566 etc. double large_val1, large_val2; ... double difference = large_val1 - large_val2; Instead of the result I expect (and indeed the result shown in the Watch window during debug for large_val1 - large_val2), I get a servely rounded value instead - that is entirely useless!! Help!! I can do this in a standard command line / console application and everything works fine - why should there be any difference ! I have tried decimal, ...Show All

  • Visual Studio 2008 (Pre-release) Help with styles

    I seem to be missing something fundamental with styles. In the code below, see the Hyperlink cell template for the PublishDate column. When I apply the LinkDefault style, it works great for the first row, but after that all the other cells are blank for PublishDate. It does show an active scroll bar there in the cell , so something is happening, but it does not seem to be showing any data in any of the rows in the GridView except the first row. ------------------ <Window xmlns='http://schemas.microsoft.com/winfx/2006/xaml/presentation' xmlns:x='http://schemas.microsoft.com/winfx/2006/xaml' Width="664.8" xmlns:l="clr-namespace:SDKSample" x:Class="SDKSample.Window1"> <Window.Res ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Trying to move ContentManager to another class

    After successfully building the "How to Render a Model" example in the XNA docs, I am trying to move: myShip = content.Load<Model>("media\\ship"); to a separate class and I was getting: Error 1 The name 'content' does not exist in the current context so I changed it to: myShip = Game1.content.Load<Model>("media\\ship"); and then I got: Error 1 'Game1.content' is inaccessible due to its protection level so I changed ContentManager content; in Game1.cs to: public ContentManager content; and now I get: Error 1 An object reference is required for the nonstatic field, method, or property I'm stuck now. Ideas Thanks! Greg Here's what worked for me: priv ...Show All

  • Visual Studio Express Editions Problem of setting the position of textbox, button, etc

    Im not sure why i cant drag the textbox or button around the form to the position i like it to be. It seems to be able to stay at a fixed initial position only. I uninstalled the software and reinstall but the problem still persists. I wonder if anyone here ever face this problem, as this is very inconvenient. Is it only this project or on projects If you create a new windows project does this work. Was this project upgraded from a earlier version of VB or created from scratch in VB Express ...Show All

  • Smart Device Development How to access form controls from outside the form class

    Hello, I have got a question that I believe must be quite basic. I am currently working on a project that involves developing an application on a PDA using .Net Compact Framework 2.0 in C#. Here is my problem: After performing the InitializeComponent(), I have to enable many device features such as its barcode scanner, battery status trigger.... . In order to well seperate the view with the buisiness logic, we would not like to write all these "device initialization" codes in the form class but in separate classes. The problem is that some of these initialization methods require to access a form control (e.g. the scanner should display the barcode it reads in a textbox, the battery status should be displayed in a label...). He ...Show All

  • Visual Basic Reading Bytes From SerialPort.. Help...

    Hi everybody there. I developed an application, that uses a serially connected device which responds with bytes. I read these bytes sychronously and I want to print each byte value in an output .txt file. My problem is that when the device stops sending bytes, in the txt file are printed only the first half values of the received data. When I am just counting how many times some bytes appeared I am getting corect results. My settings for the serial port are BaudRate = 9600, Parity =none, Handshake= none, StopBits = 1, DataBits =8 and ReadTimeOut = -1. What seems to be the problem and how can I overcome it Am I missing any properties of the serial port object intialization Is a problem of the serial port settings (ha ...Show All

  • Visual Studio Paging in toolbar off-by-one

    I'm using the ReportViewer control in a WinForms project, using Local processing mode.  On the report itself, it always correctly shows the current page and total number of pages in the report using Globals!PageNumber and Globals!TotalPages.  However, in the toolbar page navigator, the total number of pages is always initially shown as one less than the actual number of total pages. For example, I've got a report that actually has 8 pages.  When I view the report in ReportViewer, in my report header it indicates "Page 1 of 8".  However, in the ReportViewer toolbar page navigator, it indicates "1 of 7". Strangely, when I click "next page" in the toolbar, the total count is then correctly updated (using the above ...Show All

  • Visual Studio Sandcastle - how to insert 'line break' within <summary> tag

    Hello, I tried to insert some line break using <br/>. However, this has no effect. They are reflected in the xml file generated at VS compilation time but ignored by SandCastle when generationg the chm file. This was supported by NDOC under vs2003. Does anyone know how to insert such line break Thanks, Jose hi, Thanks,.... I had tried it several times before but it never worked fine..... Reading your email I realised that all tags should have closing-tags included (img and /img)...... We are talking XML-here... offcourse!!! Thanks for your reply.  Kind regards,  Stephan Smetsers ...Show All

©2008 Software Development Network