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

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

Boai

Member List

Charl Herholdt
mutodori
Jim D.
DotNetDevelop
Rick Qually
Wickermoon
DimTim
Mellis27
ar_pad
10wattmindtrip
WinFormsUser13232
Lai F K
tapic
TheGunShow
Bert Loedeman
kallzz
jasonweiyi
shunsuke
s_sd
RamMohanRao
Only Title

Boai's Q&A profile

  • Visual Studio 2008 (Pre-release) TextBox input validation

    How can I validate input for my textboxes For example I have an application where I want to input several numbers in the textboxes. The primary validation constraint is that I want the user to be able to input only valid real numbers. Some of the textboxes should contain only positive real numbers. Also I want to be able to do comparisons between the different values (for example I have a minimum speed textbox, and maximum speed textbox, so ther ...Show All

  • Visual Basic VBA and Outlook 2003 access

      I've written 3 versions of a VB program: one from VB 6.0 pro as an .exe, one from outlook 2003's vb inside of outlook, and one from vb 6.0 pro as an add in dll.  What I want them to do is to read incoming mail, and either move the new mail to a folder, or email it to another inbox on our network.  All of them work, but all of them force 2 errors: "a program is trying to access e-mail addresses you have stored in outlook, do ...Show All

  • Visual Basic VB .NET 2003 Form Scrolling Controls

    I have created a form using vb in visual studio 2003 whereby the form is longer than the screen (height 2000) and becomes vertically scrollable. I have placed text boxes throughout the length of the form. The form compiles and debugs with no errors, but when using the form and scrolling to the bottom, then clicking in a text box for focus, the form immediately returns (auto-scrolls) to the top of the form befor ...Show All

  • SQL Server dynamically switching databases in a script

    I've got a situation where I need to execute portions of a script against every database on a given instance. I don't know the name of all the databases beforehand so I need to scroll through them all and call the "use" command appropriately. I need the correct syntax, the following won't work: DECLARE DBS CURSOR FOR SELECT dbname FROM #helpdb ORDER BY dbname OPEN DBS FETCH NEXT FROM DBS INTO @dbname WHILE @@FETCH_STAT ...Show All

  • Visual Studio Team System Can not run web test when storing resultsfile on a network place

    Hi I am using MSTest to run tests in the following manner: mstest /testcontainer:C:\...\Test.dll /resultsfile:c:\TestResults\ /runconfig:C:\...\localtestrun.testrunconfig Which works well, all trx files are stored in c:\TestResults. However, when I direct the resultsfiles to be stored on another computer i.e. \resultsfile:\\computer\TestResults\, the trx file is stored there but the test failes to initialize. When opening ...Show All

  • Visual C# GDI+ Multi Thread

    I am using GDI+ to draw to the graphics object when an OnPaint event occurs. However, if you draw lots of things, the form becomes unresponsive until all of the drawing is done. Is there anyway to put the OnPaint event in another thread, so the form can remain responsive while the painting occurs Try to create classes that contain the logic and create a IDrawable interface or something with a Draw( Graphics g ) method. Then y ...Show All

  • Visual Studio T3 template engine

    Is the T3 template engine only avavilable for use with Visual Studio 2005 Is there a DLL available that I could use if say I wanted to use this instead of CodeSmith Also if this DLL is available would it strictly require Whidbey I ask because my team uses macros to spit out some code, such as dataccess code using the Enterprise Library blocks (including correct parameter discovery for stored procs) and I thought the T3 templates would be usefu ...Show All

  • SQL Server Problems installing SQL Server 2005 Mobile on device

    I have a Fujitsu-Siemens LOOX 520 running WM 5 version 5.1.70 on which I am trying to create a Server 2005 Mobile database. I have installed the following files on the Pocket PC after a hard reset to make sure the unit was in its vanilla state: NETCFv2.wm.armv4i.cab sqlce30.dev.ENU.ppc.wce5.armv4i.CAB sqlce30.ppc.wce5.armv4i.CAB sqlce30.repl.ppc.wce5.armv4i.CAB All the files appeared to succesfully install. Connecting to the de ...Show All

  • Visual C# How do I determine which program window is active?

    hi there, i want to programmatically determine which program is currently active from the user's perspective. i.e. if I have Acrobat Reader, Visual Studio and Internet Explorer open but Internet Explorer is currently being used and is ACTIVE. I need to know where the active programs' .eve file is located e.g. C:\Adobe\Adobe.exe or where the process comes from. thanks You can use GetForegroundWindow(); to get the foreground window ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. AudioVideoPlayback

    Okay.. Is it possible to display the Artist/Music name with the class Audio of the namespace AudioVideoPlayback Actually.. I'm afraid it's not possible, coz I've seen it's properties at msdn and there isn't the Author or something similar to that on this class, while there is a Author Property on the class Video of the same namespace.. so.. how can I get these information of the mp3 file is there any meta-data on the mp3 files I can retreive ...Show All

  • Visual C# 'My' in Vb.net

    in VB.net we can write ' My ' in our code like My .Network My .Computer what can we use equal that in C# See http://blogs.msdn.com/danielfe/archive/2005/06/14/429092.aspx for one My-like library. ...Show All

  • Visual C++ using the /delayload linker switch with a custom DLL

    Hello, I have a custom DLL that can be linked against correctly. I'm now trying to use the delay load feature of Visual Studio in order to load the DLL, but that does not work for me. I have therefore tried to compare with delay loading USER32.DLL, which works. I have the following code : #pragma comment (lib, "delayimp.lib") #pragma comment (linker, "/delayload:user32.dll") #pragma comment (linker, "/delayload:sample.dll") The build fails ...Show All

  • Visual Studio Error Generating Report to Viewer

    Seem to be having the occasional problem when generating a local report to a report viewer. First a dialog appears which states “A generic error occurred in GDI+” After clicking the OK button the report viewer shows the same message This error is not consistent and I haven’t been able to pin down the circumstances that cause i ...Show All

  • Windows Forms How to place the Tab names at the bottom?

    I want to have my tab names seen at the bottom of the tab control How do i do that ~nhd Hi, The TabControl has a property Alignment which if is set to Bottom will cause your tabs to be displayed on bottom. Just let me know if it works. Best, Radu. ...Show All

  • Visual Studio MsBuild Task and References

    Hi, Is there a way in MSBuild task to specify reference folder to find referenced dll if it cannot find in the referenced path specified in the csproj file which it is trying to build. To state more clearly, the way we can specify References for CSC task is there something similar or a way around. Thanks MRI This is what you can do - <Project DefaultTargets="BuildOtherProjects" xmlns="http://schemas.microsof ...Show All

©2008 Software Development Network

powered by phorum