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

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

DLGrubb

Member List

mike50
Marsan001
Chris Kurz
Epiana
Daniel Eason
jwhitehorn
James Donnelly
awani
Rob Blackerby
Coder24.com
Denispiow
jskim
Harjinder Singh
Erik Arfeuille
Adil Hussain
Chirag Patel
DBornack
Tim Raleigh
jen
LProgrammer
Only Title

DLGrubb's Q&A profile

  • Visual C# RS232, convert string to hex string

    Hi all, I have my device that put out to RS232 port by hex format. I try using write code to receiver its information and when it display in string format, i can understand , such as : " Uay <00>€€€€<00><00Uay<00>€€€€<00><00> Uay <00>€€€€<00><00>Uay <00>€€€€<00><00> Uay I€€€€<00><00>UUay €€€€<00><00> Uay <00>€€€€<00><00> Uay<0 ...Show All

  • SQL Server File Drops

    Is there a way to have SSIS monitor a folder for file drops I have been unable to determine which object/task to use for this. We need the ability to have it monitor for files being dumped by other systems, pick those up and then process them. Thanks for your assistance. - DeKlown Hi Jamie, I simply put the WMI Event Watcher Task in a For Loop Container and keep the Eval Expression to return True always. ...Show All

  • Visual C++ How to program with a tape driver through ASPI in MFC?

    I have been looking for some supports for programing with ASPI in MFC for a long time, but still can find nothing. Or the documents were too difficult to understand without examples. I want to control a AIT SCSI tape driver, such as reading, writing and sending command. But how to do this Than just goolge for "ASPI interface" Note that there are no standard ASPI drivers in Window NT, 2000, XP and 2003. You always need to third pa ...Show All

  • Visual Studio Tools for Office Creating a custom reference number in InfoPath from database fields

    I'm looking to create a custom reference number such as P06-200001 where 06 is the fiscal year based on the list box entry the user selects in My InfoPath form and 200001 is an auto-generated number that is a primary key from a sql table.  What is the easiest way to auto-create this number in InfoPath For InfoPath-related questions, please post your question on the InfoPath newsgroup. http://ms ...Show All

  • Visual C++ VS2005 Linking problem std::_String_base::_Xran

    Hello,     I trying to build my project in VS8 (it was building fine in VS2003). I get these linking error : engine.lib(ECMFileHandler.obj) : error LNK2001: unresolved external symbol "public: void __thiscall std::_String_base::_Xran(void)const " ( _Xran@_String_base@std@@QBEXXZ) engine.lib(ECMFileHandler.obj) : error LNK2001: unresolved external symbol "public: void __thiscall std::_String_base::_Xlen(void)const " ( _Xlen@_Str ...Show All

  • Windows Forms Reduce the container zone of a panel.

    Hi I’m trying to create my own component inherit from a Panel under .Net Framework 2.0 in C#. I have a problem on reducing the surface where component can be drop. In fact I would like to have the exact comportment of a winform : one part of my control would be a design surface like the title bar in a form (non accessible by the designer or other control) and an other part would be the container which add controls and where they can draw ...Show All

  • Visual Studio Team System ASP.NET and FxCop

    Does anybody have a guide on what FxCop rules should be enabled/disabled when analyzing an ASP.NET Application Thanks! Actually, I have installed fxCop from Windows Vista SDK February CTP. I reinstalled fxCop taken from gotdotnet (RC1) and no, it doesn't catch vulnerability with generics inside. Here the sample. SQL Injection rule fires up only for DoQuery method public static class MyService ...Show All

  • Visual Studio Team System Unit testing a form...

    We're trying to unit test the main form of our application. Things like instantiating the form, checking for the default controls, invoking something that creates a new panel, checking for focus inside this new panel... all these things work great. For testing navigation we're using the SendKeys class to send a Tab key press to the form from the unit test. This works fine when you run this test method independently. However, when I run my ent ...Show All

  • Visual Studio 2008 (Pre-release) extension properties

    When the first Linq preview was released, there was talk of allowing extension properties along with extension methods. At the time, I couldnt see a good reason for having them, but having read "First-class relationships in an object-oriented language" I can now absolutely see a use for them. At least, a very nice syntactic sugar type of use. I know the details on the next Linq release have been short on the ground, but would some Linq ...Show All

  • SQL Server About the user defined sp for calculating & updating the staff annual leave record

    Hello, I'm using sql2005 and created a table use for contain the staff annaul leave holiday records of the company. I created a table 'test' and 3 columns 'id' (int), 'dj' (datetime), 'al' (int) which represent staff id, date join, annual leave holiday respectively. I used this table for testing the calculation of the annual leave of each staff have. the annual leave has the following conditions that must obey: working years annu ...Show All

  • Visual Studio Express Editions registration benefits c#

    I registered by Visual c# express edition two days ago, Although the product is nregisterd, I read the registration key off the screen I have not yet received the confirmation email, So how do I access the benefits page for the said downloads and eBooks Be sure your passport e-mail address works to receive mails. If you have a spamfilter it might sort it out so that can also be a clue where it has gone. You can go to http://connect. ...Show All

  • Visual C# Dispose of a generic list

    Hi, I have a procedure in witch I create a new generic list of a structure. Example: List<myStruct> = new List<myStruct>(); I add some elements to the list and at the end, I want to dispose of the generic list to free the memory. How do I proceed There is no Dispose() method in a generic list. Thanks! Simply let the variable go out of scope or set the member or static variable to null and the garbage ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Why is managed DirectX using classes over interfaces?

    Hi, I'm wondering if anyone can answer the above question Why are method calls going over classes rather than interfaces I would have thought that each managed assembly would still use interfaces from class factories rather than using explicit classes in a namespace. Doing so would mean that your application would not break when new versions are released. E.g. ILight9 light = new Light9 (); light.LightType = LightType .D ...Show All

  • Visual C++ problem in explicit linking of DLL

    I have made a sample Win32 DLL(not MFC) without using .DEF file(I do not have to include a header file thus).To test that i have made a sample application.It loads the DLL using explicit linking(using LoadLibrary() and GetProcAddress()).To make it work I copied the dll to the folder of the exe.Now, the dll is being loaded(the handle returnd by LoadLibrary() is not null).But the GetProcAddress() is returning a null pointer.I have run the dumpbin ...Show All

  • Windows Forms How can I set ListBox.HorizontalExtent to the good value.

    Hi ! I have an owner-drawn listbox on my form. The important properties of the listbox are: DrawMode = OwnerDrawFixed HorizontalScrollbar = True As I see in MSDN, I have to set the HorizontalExtent property to the width of the longest line in the DrawItem event. It is good, if there isn't vertical scrollbar. My DrawItem looks like this: If (e.State And DrawItemState.Selected) = DrawItemState.Selected Then e.DrawFocusRectangle() Else ...Show All

©2008 Software Development Network

powered by phorum