Software Development Network Logo
  • Game Technologies
  • Visual C#
  • Visual Basic
  • Visual Studio
  • Audio and Video
  • Visual C++
  • Visual FoxPro
  • SharePoint Products
  • VS Team System
  • .NET Development
  • Windows Forms
  • SQL Server
  • IE Development
  • Windows Vista
  • Smart Devicet

Software Development Network >> Caleb T's Q&A profile

Caleb T

Member List

Peter Nimmo
CWDavid
Qiming Lu
Roger Lipscombe
NeederOfVBHelp
Latso
Harpreet Singh
RMooreFL
Andrey Makarov
Oana
Rocco Mastrangelo
Softwaremaker
tackett
LNDSRK
Steve in Crystal Lake Illinios
oaix
PedroCGD
IMBack
tehbagel
djshades2004
Only Title

Caleb T's Q&A profile

  • Visual Studio Team System postbuild event

    Hi, Would it be possible to add a postbuild event feature to the database project I have a scenario where I would like to run aspnet_regsql.exe utility to install/merge the ASP.NET 2.0 services database into the database that I am building with VSTS-DB. I basically want to avoid creating the ASP.NET services db schema by hand (or even importing .sql files) -- I'd rather run their tool and point it at the database created by the build. The postbuild event could provide some macros (e.g. Target database name, connection string, etc) that I can then use as command-line switches to aspnet_reqsql.exe. Thanks, Vitaly Hi Gert, That's great news -- keep up the awesome work! Out of curiosity, ...Show All

  • Visual Studio Team System ConverterException TF60087 Failed to initialize user mapper

    Hi, I've never had this problem of migrating to Team Foundation but today, its taken exception to my user name. Its saying that the user name in my usermap file is invalid. This is running the VSSConverter comman. The thing is, using the same user name and password to login into the Visual SourceSafe Admin, i have no problems opening the application. Am i doing something wrong Can i get some help ...Show All

  • Windows Forms asyccallback in child app

    hi, i've made an parent - child (4) app. in one of the childs (titeled: get data) i make an ethernet connection to an micro processor. when i have connection i send a string so the processor can responed and send the data i need. but receiving the data takes time, even when its only a minute, the user will see it. so i thought to receive the data asychron but i still remain with the waiting problem. the user most be able to do things in the three other child wile 'get data' is getting his data im not sure how to do this, i am formiliar with asynccallback, ect. because i use this to make my ethernet connection. so here is my problem in short: 4forms, 1 where data is beeing received and during this the user most be able to use the ot ...Show All

  • .NET Development ?? in regex

    Hi, while looking for a pattern to find repetitive patterns, e.g.: string = " 999 888 777 " should match "999 888 777" (note should not match the spaces following the last pattern) I tried the following ((\d)\2\2 * )+ expecting the * to minimize the match at the end but it does not work. Instead, I get 3 individual matches. Can anyone explain it Thanks Not sure if it helps but for the string "123 456 789    " the regex ([\d\s]*\d) will match "123 456 789"... this is because (as I see it) the expression looks for any combination of whitespace (\s) or digits (\d) terminated by a digit. Because * is greedy it will get as many whitespace chars/digits as it can. To cut off leading ...Show All

  • SQL Server SQLServer 2005 JDBC Driver - Date rendered correctly on local environment(windows), but not on Websphere server (unix)

    Hi, We are trying to move our application from SQL2005 to SQL2005, we are using 2005 jdbc driver 1.1. The problem we have is, when a date is retrieved from the database, only the year part got correctly, but the date is automatically set to January 1 of that year. The interesting thing is this problem doesn't occur on local development environment (developer's windows platform), it only happens when we deploy the application to production server (unix). Does anyone know what is going on, how to fix it Thanks. Cathie Hi all, Thank you for your feedback and patience on this issue. We will be issuing a hotfix to the Microsoft SQL Server 2005 JDBC Driver v1.1 to address this issue by ...Show All

  • Visual C++ 24Bits Bit-field Alignment error under VC++

    Hi, I wrote code to interact with some netrork device. One of the network structures contains a 24-bits field. Everything is packed to "1" (byte). struct test { char bob0; char bob1; short bob2; char bob3; unsigned long bob4 : 24; unsigned long bob5; }; int main() { test tt; tt.bob0 = 0; tt.bob1 = 1; tt.bob2 = 2; tt.bob3 = 3; tt.bob4 = 4; tt.bob5 = 5; unsigned long * ptr; ptr = (unsigned long *)&tt; printf("%08X\n", ptr[0]); printf("%08X\n", ptr[1]); printf("%08X\n", ptr[2]); printf("%08X\n", ptr[3]); printf("%08X\n", ptr[4]); return 0; } Under Visual Studio (2003 and 2005), the result is: 00020100 00000403 000005CC <-- CC Packing is at 1, there s ...Show All

  • .NET Development Datasets and SQL Server

    I'm currently working on a application in VB.NET 2003, with a SQL Server backend. I was asked to make an import function that would allow a user to import an Excel worksheet into SQL Server. I'm aware you can do it from Excel directly to SQL Server, but the clients would like something that wouldn't involve the users of this application touching the SQL Server. I'm using an OLEDB for the Excel connection, and a ODBC connection for the SQL Server connection. Next, I have a button event that would open up a OpenFileDialog window, and a user can choose an Excel sheet. If the Excel sheet is valid, it would go on extracting the data into a dataset: ds = New DataSet ds.Clear() strSQL = "Select HEAT, Practice, C, Mn, P, S, Si, Cu, ...Show All

  • Visual Basic Hiding the cursor when not on a form

    I have tried the following for hiding the cursor from the desktop: showcursor(false) or system.windows.forms.cursor.hide() both of these only hide the cursor while it is over the form that I am developing. I would like to know if there is a way to hide a the cursor while you are not on the form. Thanks, Tim Tim There is a way to do this but I would like to know why you are trying to do it before suggesting a solution. Can you provide a little more information please Richard ...Show All

  • Windows Forms tabpage control navigation is not refreshing the panels quick enough.

    I need to redesign my tabcontrol that contains tabpages to which have been added a user control. When I click on each tabpage, it takes a second to load the usercontrol and see it displayed. The usercontrol has two splitcontainers which are nested on either side of another splitcontainer. The resulting 4 areas contain panels which are the drawing containers that are added each time dynamically as per below. Is it possible to add the usercontrol to each tabpage on form load. Is there a way to "refresh" or show each tabpage when the user clicks on each subsequent tabcontrol rather than adding it each time   Select Case TabControlLeft.SelectedIndex             Case 0   ...Show All

  • Visual Studio how to combine two VSS DBs into one?

    I have successfully moved one VSS db to a new server, but now I have to add a second db to the same new location so the two separate dbs become one. The simple idea of just having two instances of VSS running with one db open in each and then dragging one to the other didn't work. What's the best way to do this TIA, Skugga If you simply want to combine the contents of two DBs, you can Get the root project from one DB and add those files into a project on the 2nd DB. However, if you want to maintain all of the change history as well, I can't think of a good way. You'd need to find or write a VSS -> VSS converter tool; I don't know of any. ...Show All

  • Windows Forms Button Hover Color C#

    I was wondering how to disable the button hover color in a program in the form.cs. Is it possible or is there some other way. This works with Visual Styles enabled: private void button1_MouseEnter(object sender, EventArgs e) { button1.UseVisualStyleBackColor = false; button1.BackColor = Color.GhostWhite; } private void button1_MouseLeave(object sender, EventArgs e) { button1.UseVisualStyleBackColor = true; } ...Show All

  • Visual J# converting jars

    I am trying to convert some jar files to make class files or dlls. Using jbimp.exe , it is looking for the other class libraries inside my jar file. well those are other .jar files and i have them in the same directory. what can i do. go to the base of each jar file also will jbimp convert , j2ee commons libraries and such thanks for your help . Hi, You can use /recurse option in jbimp to look into the each sub directories. Jbimp doesnot support j2ee common libraries. Jbimp does not support the following scenario also Code that uses functionality in class libraries above the JDK 1.1.4 level. JbImp.exe also does not support code that uses certain functionality in the JDK 1.1.4 level class libraries, ...Show All

  • Visual C# C# Date Time Help

    Ok I am writing this program to log me into WoW at a sertain time set by the user, but right now it won't work. My question is how can I get it to continually check against the current time and then fire the process when they are equal right now the way it is I just get a Not responding error in Task manager with it. [code] using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; /* NoWait V1.0.0 by TRTwiggy * * Date: October 22, 2006 * * Author: TRTwiggy AKA Tyler Reid * * Description: This program was written for two reasons. The first is to help * develop my coding skills. The second is that I got so damn tired of get ...Show All

  • .NET Development Error in Web Service

    hello , I have a Web service retrive  dataset and some methods  my application connect to Web Service and  retrive the data From Web Service  But after  5 minutes  the application raise exception and if I call my Web Service again from internet explorer  it  gives me this Execption   System.Data.SqlClient.SqlException: A transport-level error has occurred when sending the request to the server. (provider: Shared Memory Provider, error: 0 - Shared Memory Provider: )    at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)    at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception ...Show All

  • Visual Studio Express Editions SplitContainer docking problem

    I'm having a problem using the split container control. I add a SplitContainer to a new form, set the orientation to horizontal, and set the dock to fill. Then I add a listbox to either panel and set the dock to fill. When I resize the split container, it looks like the listbox isn't resizing exactly with the split container, but it's snapping on and off, a few pixels away from the edge. I came across some code to put in the Mousemove and MouseDown events, but that just makes it flicker. Has anyone else run across this problem You're right. I was sitting here thinking it was some sort of bug and no one else noticed it. It seems so obvious. Thanks for the help. ...Show All

©2008 Software Development Network