Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
J

JimWDurbin

@JimWDurbin
About
Posts
15
Topics
11
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • array instantiation in a __gc struct ???
    J JimWDurbin

    Thanks Alok, It has been a while since I posted anything at all. I did not know that is where question on Managed C++ questions should be posted. BTW, after a lot of hacking, the problem has been resolved.

    C / C++ / MFC question data-structures help tutorial

  • array instantiation in a __gc struct ???
    J JimWDurbin

    Does anyone know how to instantiate an array in a __gc structure? e.g __gc struct epdata { __int61 count; __int64 val __gc[]; // an array of integers } x; The compiler won't allow the array to be sized such as __int64 val __gc[10]; // an array of integers it gives this error message e:\xf\Form1.h(12): error C3616: '10': a size cannot be specified in a __gc array declaration This question came up when attempting to read data from the array that had been stored in the array previously. e.g x->val[0] = 2; // no error is generated on this line __int64 y = x->val[0]; // this line gives " Object reference not set to an instance of an object."

    C / C++ / MFC question data-structures help tutorial

  • How to do a binary search on a dataset?
    J JimWDurbin

    I have a VB application that needs to do a lookup on a dataset that has been filled early in my program. A FOR loop finds the data, but runs slowly. I have been unable to locate documentation in VS that describes how to do this.

    Visual Basic visual-studio tutorial question

  • application dies
    J JimWDurbin

    Thanks again. I will give that a try. Jim

    Visual Basic question csharp help announcement

  • application dies
    J JimWDurbin

    Thanks for the reply. When the application loses focus (e.g. I go to MS word or whatever) and then return to the application, the window is completely blank and an hourglass is displayed when the mouse is on any part of the window with the exception of the close button. I have broken the app into pieces and I am sure that the piece that is running should complete in a few minutes, but it never does. Jim

    Visual Basic question csharp help announcement

  • application dies
    J JimWDurbin

    I have an vb.net 2003 application that is converting very large files that dies when the application loses focus. The application is updating several textboxes on screen that show the file names and record counts so I can see the progress. If I switch to another application while this is running, it dies. I am wondering if the fact that the application is attempting to update a screen that does not have focus is causing the problem. How do I get the code to continue execution and show me the current progress when focus is returned?

    Visual Basic question csharp help announcement

  • Dealing with dbnulls after joins
    J JimWDurbin

    There has to be an easy way!!! If a query containing a left join returns a row where records on the right side of the join are not found, dbnulls are returned to the data set. To detect the dbnulls, I am currently changing the code for the dbnull field property in the .vb file. Isn't there a way to configure the dataset elements so that a dbnull cast exception is not thrown without manually modifying the property code for each field? I would like to be able to specify a null string return for strings, 0 for numerical values, etc. If anyone has some insight into this, I would appreciate s suggestion.

    Visual Basic database question

  • properties for custom control
    J JimWDurbin

    I have two problems with a property for a custom control: 1) the default value does not show up when the properties for the custom control are viewed. 2) The size of the control at run time reverts to the initial size of the combo box which is the final result of user selections in the custom control. These two problems may be interrelated. The custom control is a composite of standard vb.net controls including a drop down combo (ccdropdown), some buttons, etc. The run time user sees the ccdropdown combo. At run time, when the user clicks on the drop down, the custom control displays the embedded standard controls and allows the user to set the final value which will be displayed as text in the ccdropdown combo box at which time the ccdropdown combox also closes up. The custom control needs to have three different widths depending upon the value of a property that the designer will use. I can create a property called mode, and cause the designer to show the correct size on the design page depending on the value selected in the mode property. The relevant code is as follows: private parm1 as string _ Public Property Mode() As String Get Select Case parm1 Case "Mode1" ccdropdown.Width = 90 Me.Width = 90 Case "Mode2" ccdropdown.Width = 75 Me.Width = 75 Case "Both" ccdropdown.Width = 150 Me.Width = 150 End Select Return parm1 End Get Set(ByVal Value As String) Select Case Value Case "Mode1" ccdropdown.Width = 90 Me.Width = 90 Case "Mode2" ccdropdown.Width = 75 Me.Width = 75 Case "Both" ccdropdown.Width = 150 Me.Width = 150 End Select parm1 = Value End Set End Property Modelist has been initalized to "Mode1","Mode2","Both" me.width is changed so that the designer sees the proper width of the control depending on the mode selection by the designer. I would appreciate any insight into this problem from

    Visual Basic csharp design hardware help

  • datasets disappear from designer
    J JimWDurbin

    We have had multiple occurances of datasets disappering from the designer. We cannot be specific about the circumstances since we simply do not know when this will occur or under what conditions. The .xsd and associated .vb files are still located in the source directory. The .vbproj file has references to both but is missing the following tagged lines (as an example). Restoring the tagged lines allows the code to compile correctly, but the data sets still do not show up in the designer. The implication is that we can't select the dataset and look at or modify the schema. Here is a snippet from the .vbproj with the missing lines tagged by >>> >> DependentUpon = "LabNfonts.xsd" SubType = "code" >>> BuildAction = "Compile" >>> DesignTime = "True" >>> AutoGen = "True" /> >> Generator = "MSDataSetGenerator" >>> LastGenOutput = "LabNfonts.xsd" /> We are using a single data adapter and reconfiguring it to generate each data set. At execution time, the dataAdapter select, insert, delete, and update comman text is dynamically altered. The only other way we have found to get the datasets back is to completely delete the dataset and all references to it in the MS generated code, then reconfigure the dataAdaper and regenerate the the dataset. This is a huge waste of time, and I believe there must be s simple solution for prevention and cure of the problem. Any insight would be greatly appreciated. Thanks.

    Visual Basic database xml help tutorial announcement

  • UPGRADE_WARNING message removal
    J JimWDurbin

    This may be done someplace else, or even part of the .NET development package, but I have not found it so far. So I have created a small windows app called UGWarnDel that will remove those messages. The executable is under 6k zipped. If there is a need for this, you can contact me at my email address. Be forewarned, I am behind the email filter provided by INTERREACH.COM.

    Visual Basic csharp com

  • Execution from server
    J JimWDurbin

    I have a program on an XP box on a local network. I want to create a shortcut to that program on another machine. I can create the shortcut, but when the program starts, it brings up a debug screen and gives me a massage that says 'Invalid URL'. The debug window shows a NULL URL. I don't know why a URL is being requested, or how to prevent that from happening. I have a second program that I can successfully invoke from the second machine. One difference between the two programs is that the one that does not work references a dll that is part of the vb.net solution. Any clues would be appreciated.

    Visual Basic sysadmin csharp debugging tutorial

  • Access / VB / Images / feature select
    J JimWDurbin

    I have an Access / VB application that displays images. The Access tables has a link to a picture in jpeg format. I want to outline an object on the displayed image using the mouse, then create and save the outline definition and a link to a another more detailed image of the outlined object. In other words, I would like to be able to drill down into the image to reveal increasing details. I need a method or tool for outlining the objects and creating the new links which would probably be stored in another table. There needs to be some way to specify the area on an image that can be clicked in order to do the drill down. I want to avoid having to use an external application such as ArcView. Neither the image nor the application window would be resized during application usage. Any suggestions would be appreciated.

    Visual Basic

  • ms sql 6.5 access from c#
    J JimWDurbin

    I would like to access a legacy ms sql 6.5 database from a c# application. When I execute the connect method, it tells me only 7.0 and above are supported. Does anyone know a way around this?

    C# database csharp question

  • ACCESS / VB / OPENFILEDIALOG
    J JimWDurbin

    Thanks for the information. When attempting to install this control, I get a message saying that I need a design time license. Am I doing something wrong, do I really need a license from MS for this control, or is there a work-around?

    Visual Basic database com help

  • ACCESS / VB / OPENFILEDIALOG
    J JimWDurbin

    I have an application in ACCESS that requires selecting file names from arbitrary directories to be stored in a field in an ACCESS database. I would like to use the standard windows open file dialog. As a newbie to this level of programming I am not sure where to find a complete control that can be called from a event handler in the VB code for the on_Click method for a button that I labeled 'BROWSE'. It seems a waste to have to reinvent that entire standard interface. Can someone point me in the direction of a implemented control. Thanks for your help. Jim Durbin durbin@northcoast.com

    Visual Basic database com help
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups