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

Software Development Network >> Robin G's Q&A profile

Robin G

Member List

Ryno1234
Fedja
elpaw
Dusty21269
saradav
swart
Zac Evans
Masta_Splinta123
mojo99
checkity
PMKern
Callum
admng
Rob McDonald
SvenL
nbn
JFRoy3
abm06
Cortexbomber
SollenbC
Only Title

Robin G's Q&A profile

  • SQL Server DTS - Import Text Files

    Hi, I am really new to DTS so please excuse if you find my query to simple. I have a text file which has lots of records which I am trying to import into a SQL table using a DTS package. The format of the text file is like this Field1        ,Field2        ,Field3             ,Field4 Field1        ,Field2        ,Field3             ,Field4 Field1 &n ...Show All

  • Software Development for Windows Vista Welcome to the Windows Vista SDK Forum!

    As they say in all the programming classes I've ever taken, "Hello World" and welcome to the Windows Vista Software Development Kit Forum! Please feel free to post any questions or comments you have about the Windows Vista SDK.  SDK team members are standing by waiting for your questions and feedback so don't hesitate to bring up any issues you'd like.  We are always striving to make the SDK better and would love to hear from you. Thanks and happy posting!   Chris ...Show All

  • Windows Forms DataGrid BUG for ColumnChanging event on boolean column?

    When I threw an exception for validation of of a boolean column and used 'TAB' to navigate from the column after I changed the value to throw the exception, microsoft form.dll throw an exception and the applicatoin closes down. Can anyone help me regarding this To understand the problem more clearly I used 'Products' table of the Northwind databse. I made a simple form that shows all the column of the table. There is a 'bit' field in the table called 'Disontinued'. I wrote the following code to incorporate some 'business logic' in the ColumnChanging event for the table. --------------------------- if (e.Column.ColumnName == "Discontinued" & ...Show All

  • Smart Device Development Read phoneBook of a SIM card on a Smartphone

    Bonjour, j'essaie de lire le repertoire d'un smatphone, voici mon code : ------------------------------------------------------------------------------------- <StructLayout(LayoutKind.Sequential)> _ Public Structure SimPhoneBookEntry        Public cbSize As IntPtr                   Public dwParams As IntPtr                Public dwAddressType As IntPtr        Public dwNumPlan As IntPtr       &n ...Show All

  • Visual Basic Splash Screen Problems

    Using VS 2005, I am using the splash screen facility within VB and within the code, having it run some general maintenance. The main exe has 5 different screens which can load depending on the command line parameter. The problem I'm experiencing (and having a lot of feedback from users) is the correct screen loads, the splash screen unloads but rather than return focus to the correct screen, the application on screen before the program was launched takes the focus. Eg. I have Windows Explorer on screen, launch the program. The prog loads and shows the generic splash screen and within a few seconds, the correct part of my app loads, the spla ...Show All

  • Visual Basic extracting system icons..

    hi guyzz.. i am able to extract icons from any .dll file or .exe file.. but they are extracted as .bmp files n after i give them .ico extension they don't act as icon files. is there any way to extract these icons from files like shell32.dll or explorer.exe in their original .ico format.. ashtified_85 I use the ExtractIconEx API function and it saves the files as icons, the only thing is that icons are 16 color . ...Show All

  • Visual C# Application.Exit Event

    I know ive asked this question before but I really didnt get what I was looking for. How would I put this in code. if (application.exit == true) { directory.Delete("C:\hello.txt"); } The first thing I can think of would be catch your main form closing. Let's say your main form is just called Form1. Let VS create the handler stub for the FormClosing event, and in that you can do this: private void Form1_FormClosing(object sender, FormClosingEventArgs e) {     if (e.CloseReason == CloseReason.ApplicationExitCall)     {         // If you're trying ...Show All

  • .NET Development Excel interop - crash on dispose call

    I'm hosting excel inside a .NET 2.0 winforms application. However, I'm having a problem when the container control is disposed and excel is quit and disposed. Everytime a call to dispose happens, Excel crashes, giving me a non-saying error window. I tried a lot of stuff already like:         protected override void OnHandleDestroyed(EventArgs e)         {             if (_excel != null )             {          &nbs ...Show All

  • Visual Basic assistance: tring to setup Visual Studio's 9 pro, 16 bit subsystem error, WHY??

    everytime i try to run the install wizard I get an error box that telas me 16 bit subsystem error. I dont understand why this program would be giving me that error unless i'm missing a file in the setup that interfaces between the 64 bit my computer uses and the 16 bit setup wizard but even that i dont know how to fix. Any help would be appriciated. Thanks Comet87 What is your OS Microsoft Visual Studio 2005 System Requirements . ...Show All

  • Visual C++ cl crashes on the included code

    Hello, For some reason (MS linker fails to find some static stuff of explicitely specialized templates for my application but I cannot make a minimal example for you) I have to use the syntax like BBBB below. When I write it like AAAA erroneously cl crashes. You probably want have a look at the case. -------------------------------------------------------------- template<class T> struct A {}; template<class T> struct B { static A<T> a_; }; template<> struct B<int> { static A<int> a_; }; template<class T> A<T> B<T>::a_; template A<int> B<int>::a_; // AAAA //A& ...Show All

  • Visual C# how to get line on form

    How can i get a line on my form like the one i have seen on installers usually at the bottom of each form for example the one on the visio installer screen where you choose the type of installation. There are several of these lines there and there is one above the help back next and cancel buttons which creates like a kind of partition. How can i create this one my form. any help is appreciated. There's a control that draws a grouping box, you could experiment with resizing that. Otherwise, if you don't want to load a bitmap onto your form in a picture box ( yuck ), you have to overload your Paint method, ...Show All

  • Visual Studio How to pass application values to a local report?

    Hello      I have created a simple web application that uses the new ReportViewer control with a local report. The application has a DropDownList and I want that when I select an item in the combo, the report changes according the value selected. The report use a DataSet with an select parametrized query: SELECT     * FROM   Discos WHERE     (IdDisco = @IdDisco)  When I add the ReportViewer control to the web form, I get a ObjectDataSource that I use as the data source of the ReportViewer. When I run the application, it works. The reportviewer returns the informa ...Show All

  • Visual Studio Team System Visual Basic 6 and other legacy code

    I have started a new position as an architect for a mid-sized software company that creates an ASP for managing derivative trading. For right now, there application is legacy meaning classic ASP with VB 6 and C++. We are going to move to a .Net environment and very much want to use the Team Suite of products. My basic question is can VB 6 and classic C++ co-exist within the Team Foundation Server environment. What if any features will not be accessible to developers and project managers who are maintaining legacy code. While, I want to upgrade to this edition, I can't see us having multiple ways of managing development projects. Any Thoug ...Show All

  • Windows Forms Refresh Problem?

    I have the follow problem: The first time i draw the image I get a blank screen( The image stay only a half second) but the next time the image is good drawn. I have looked for a refresh method but i didn´t find it. Any help By the way, i have to decide where i want the image to be drawn with the X and Y parameter&nb ...Show All

  • Visual Basic How to Identify CD-R or CD-RW ???

    I'm having a problem when trying to identify if the CD on the drive is virgen (CD-R or CD-RW). I'm using the following code: Public Function ExistsCDOnDrive(Drive As String) As Boolean Dim FSO As New Scripting.FileSystemObject If FSO.Drives(Drive).IsReady Then ExistsCDOnDrive = True End If End Function The function works fine when the CD is not virgen, but when it's virgen, the function returns always FALSE. Is there a better way to identify CDs using VB Best regards, Guilherme Cestarolli Seleguim You can get information on the media in the drive using IMAPI (requires > windows XP, and the IMAPI ser ...Show All

©2008 Software Development Network