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

Software Development Network >> Jeff Mason's Q&A profile

Jeff Mason

Member List

brbrb
chen2006
Mark Olsen
quicksilverm26
Blinky
Nits
Gladers
gongxia649
TomasDeml
StephenJr
pr123
Paolo Marini
Steve Kemnitzer
Master_Chief
AT-Intrinix
mnn
Wayne Atherton
Markish
MyP3uK
The Corner Of Ypur Eye
Only Title

Jeff Mason's Q&A profile

  • Windows Forms Need help formatting a ToolTip please

    Hi, I'm coding VB.NET using VS.Net 2003, and I've got a datagrid that lists customers and the time spent working for each customer. When you mouse over the time field, a ToolTip that breaks down the specific minutes worked on for each job/task for the customer. Unfortunately, the way it is formatted now, the minutes just appear inline, right after the the job description....so the minutes don't line up from one row to the next (because the job descriptions are different lengths). Is there any way to create a ToolTip that has two columns (one for job description and one for minutes) Or, if that's not possible, is it possible to set the fo ...Show All

  • Visual Studio Tools for Office vbScript with .NET

    With Visual Studio 2005 and Framework 2.0 you discontinued the Microsoft.Vsa namespace. How do I execute vbScript in your latest framework without having to return back to your COM MSScriptControl (C:\WINDOWS\System32\msscript.ocx) I have not tried that yet, but I will. However, I did try running a simple test subroutine with no problems. Sub Test1 'Todo:... End Sub (It was actually passed in as a BSTR: "Sub Test1\r\n\t 'Todo:... \r\n End Sub") There were no errors... can you see why this would work but not a function even though the sub was not public ...Show All

  • Windows Forms How do I stop new rows

    I want a datagrid with 4 rows only and one column editable. I've loaded the data, and figured out how to allow one column only to be editable (by setting other columns to readonly. Problem is, how do I stop the user from inserting new rows Setting grid to readonly stops editing of column You do not necessarily need to change the Data ...Show All

  • SQL Server Possible to display RTF from db? Is there a control?

    I'd like to save RTF (or html, possibly) in a memo field of a table then display that as formatted text on a report. Can this be done I've used a control (RTFedit) in Access to do this, though the results were mixed. I need to display tables with formatting. Thanks in advance Hello, There is currently no way to do this with Reporting Services. We are considering adding a rich-text report control in a future version. Thanks, Chris ...Show All

  • Visual Basic Object instance lookup & lifetime

    Hi there, currently still using VB6 but exploring the move to VB.NET. We have a multi tier application with a tier in which we have created object classes representing table records (Flight, Booking, Airstrip, Passenger etc.) Since these objects are referring to each other we need to be aware that we do not create more than one instance in memory for a certain FlightID. Hence we have a "cache" (dictionary) which holds a reference to every instanced Flight object etc.. This in order that the Passenger.Flight and Booking.Flight actually refer to the same flight instance. The question is this: - In VB6/COM you could (with difficulty) find ...Show All

  • Software Development for Windows Vista Customizing work flow

    Hi, I have a requirement where I should be able to define a workflow for approval process (ASP.NET). However, it should be possible to configure the workflow for different client needs. For example, my workflow has 10 steps. First client might go through all 10 steps of the workflow but the second client might not require a couple of steps inside that workflow. Is it possible to configure the workflow like that In that case, what kind of workflow should I define to cater this need Is it possible to configure the workflow steps on a parameter (e.g. per client) I don't want to define different workflows for different clients. Any he ...Show All

  • Visual Studio debugger - error: cannot obtain value / NullReferenceException

    Hello, I have a problem with a portion of code in an OnClickButton event : In the code of this event I make a call to a function wich takes 9 parameters of different types. When this call is commented, there s no problem my application's behaviour is OK. When I call my function in the OnClick Event, there are several problem starting in the beginning of the code : I cannot access to the properties of the form's controls (error: cannot obtain value)... Apparently this problem comes from the number of arguments given to the function. Does anyone has an idea to solve my problem Thank U If ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. DirectDraw and Transparent Dialog boxes, flickering

    I am using XP, VC++.NET 2003, and VideoLAN (activex) for streaming video. VideoLAN uses DD2 for most of the drawing, and seems to cause issues with a transparent dialog box sitting over it. It will flicker as VideoLAN (DD2) invalidates the region sitting on-top (the transparent dialog). Is this a problem becuase they use DD2 and not D3D9 Would converting their code to D3D9 stop the flickering I basically want to have an overlay plane that can alpha-blend fade-in and fade-out on-top of VideoLAN. All works perfect, except for this flickering. If I tell VideoLAN to clip itself, it operates as an overlay, no flickering, but no alpha blendi ...Show All

  • SQL Server Unable to get snapshot agent to initialize

    I am unable to get my snapshot agent to initialize. When I start the "View Snapshot Agent Status" and press the Start button, it appears that the snapshot agent attempts to starts and then it doesn't. I have configured the a distribution server and need to push a replication to another database, both can connect, etc. I used the wizard to configure the distributon server and subscription server. I am using AdventureWorks, and am attempting to replicate a single small table. Please look at the snapshot agent details to see what the error/reason is for not starting/completing. ...Show All

  • Visual C# keypress style for alphanumeric textbox help plz

    hi, i am very very new to C# and although i am used to VB 6 and a bit of C++ andJava .. i cant seem to find how to control the inputs on a text field. i need a filter for my textbox that only accepts alpha numeric input. i was thinking over the line of having a keypress event and checking at textbox_change that each char is alphanumeric. how to do this. plz can anyone give me a skeleton or the textbox_TextChanged function! I am using Framework 1.1 i think thats why i dont even have the maskedtextbox commponent to help me :-P.. plz reply asap! thanks... u can use the following code private void textBox1 ...Show All

  • Visual C# How can I convert string representation of Color object to Color object

    I try to save Color object in my App.config file. I write Color.ToString() to config file, but how can I convert loaded color to Color object You can use Color.FromName() if your color always one of the named colors. You can also save int (Color.ToArgb()) and load from int (Color.FromArgb()). Also you can try ColorCoverter class to convert from string to color. ...Show All

  • Visual Studio Article on ReportViewer in Visual Studio magazine

    http://www.ftponline.com/vsm/2005_11/magazine/features/rjennings/ The article was good, but the steps shown won't work for me in Visual Studio Express 2005.  I cannot get the datatable connected to the report.  It would have been nice if there had been mention of how to replicate the steps in VWD.  Nevermind-- the article mentioned a window named "data sources", and in VWD this is actually a tab colocated with the Toolbox named "Website data sources".  I'm good now.  :) ...Show All

  • Visual C# ODBC Datasource - Debugger just quits!!! mscorwks.dll error outside debugger

    Hi, I am curently developing a client application that connects through a ODBC data source to COBOL ISAM files, generally this works well, however, when i try and fill a dataset and then proceed to fill a datagrid view (quite simple stuff), the client just quits back to the debugger, no error message/debug info at all!!! If i run this outside the debugger, i get the following debug information: AppName: client.exe      AppVer: 1.0.0.0     AppStamp:4342b8d3 ModName: mscorwks.dll      ModVer: 2.0.50215.44      ModStamp:42578752 fDebug: 0&nb ...Show All

  • Windows Forms Form.Close() won't close

    I am working on a VB application where when a certain condtition is met, the Form cannot close itself: Me.Close()   //does not do anything Application.Exit()   //works but causes an error, due to other code checking when the main form closes It almost seems like a silent error or something that messes up the running application. I was just about to sta ...Show All

  • .NET Development Using FtpWebRequest to check if a directory exists.

    I'd like to know if there is anyway i can use the FtpWebRequest class to check if a directory exists before creating it on the server. The reason i ask is because if you try to create a directory that already exists it throws a WebException and disconnects from the server. This gives a performance hit if we are trying to create alot of directories on the server that already exists due to the disconnects/reconnects. TIA, lushdog Yes, you can set the FtpWebRequest.Method to "NLST" and use it to check if the directory exists on the server Mariya ...Show All

©2008 Software Development Network