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

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

QWERTYtech

Member List

Bill_C
Sarah Cameron
Bill Cumming
Yustos
hellopower
kamkam2
dba123
IamHuM
riemerg
William McIlroy
Dans.
MarissaM
pnp
RyanB88
King_Leo5
EnochGenesis
ro88o
Sorin Sandu
shawn087
Silverflyt
Only Title

QWERTYtech's Q&A profile

  • Windows Forms how to make valdation to my input data

    my application should have full validation on data... but I do not know how to make validations ... for example ... the name should be no more than 50 chars .. date should be yyyymmdd gender should be 4 chars or 6 chars ( male or female ) and so on ... hot o make validation on text numbers dates help me or give me a source to learn but before that I hope to write me exaples here thanks in advance   try the following code. private void textBox1_KeyPress( object sender, System.Windows.Forms.KeyPressEventArgs e) { count++; if(condition based on number of keypress) { e.Handled = true ; } } your condition should be depend on count(number ...Show All

  • Visual Studio Tools for Office Cannot attach VSTO Customization via Custom Properties when doc has "No Changes" Protection turned on

    The other day, I posted that I was having problems attaching VSTO Customizations via Custom properties. McLean Schofield correctly identified my issue, and I thought I was in the clear (see thread here http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=501788&SiteID=1 ) However, as my work progressed, I was still getting intermittent failures, even on examples that had worked just a few moments prior. After a little while, I realized that having Protection turned on and set to "No Changes (Read Only)" for your document will cause the VSTO Customization attachment process to fail when doing so via Custom Properties. In fact, you will see that it didn't even get around to converting the manifest's path to a GUID; the orig ...Show All

  • SQL Server How Can I Database Backup using T-SQL From other instance of SQL Server 2000/2005????

    Hi All, I want Database backup from other instance of SQL Server using T-SQL. The Following T-SQL Stored Proc I using to do Database Backup...But if any errors raise on command line i am not getting any information about it....So How can i know that Database Backup statement runs successfully on command prompt or is there any way for Backup Database. SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO --master..xp_cmdshell 'C:\PackConfig\Sqlcmd.exe -Usa -Psedna -Smercury -dhr -Q"BACKUP DATABASE hr TO DISK = ''\\vista\e$\backup\hrfull1807.bak'' with init"' --master..xp_cmdshell 'C:\PackConfig\Sqlcmd.exe -SZenith2000-3 -Usa -Q"BACKUP DATABASE ACSZenith TO DISK = ''\\vista\e$\backup\ACSZenith18_07_200 ...Show All

  • SQL Server Real-Time Data Mining Discussion

    I am about to prepare a paper concerning the field of real-time data mining. Real-time here means the process of incremental training of an existing model as soon as the data arrives. There is a number of papers introducing algorithms for incremental association analysis, incremental clustering etc. Stream mining is a field which is closely related to that. The main reason for the implementation of incremental algorithms is a) the large amount of data to be mined and b) the high rate of new data that is evolving every day. Using classical batch mining algorithms, models that are outdated for some reason, would have to be re-trained, which could be very time consuming for billions of records. And once the training is completed, the tr ...Show All

  • Visual Studio Express Editions checkedlistbox wont single select

    i have a checkedlistbox with five items, at run time i can select all. the selectionmode property is set to single. Paul Are you speaking about "selecting" or "checking"... JGrove805 wrote: Remember a checkBox is for multi-selections (DMan1: I would say Multi-Checking ). If you want only one selection you may want to think about using RadioButtons instead. you can always "check" more than one box...but the mouse is only able to "select" a single item when the selection mode is set to "one" ...Show All

  • Smart Device Development problem in loading the custom service in samrtphone?

    problem in loading the custom service in samrtphone I made myservice for pocketpc WM5.0 its runs successfully in pocketpc by activate service. I'm using device emulator for pocket pc sdk 5.0. Now i want to use that service in samrtphone WM 5.0. for this i change the SDK to smartphone and signed the Myservice.Cab file with "SDKSamplePrivDeveloper.pfx". The cab file installed successfully but not loaded with the "ActivateService" or "RegisterService" method for smartphone. You can not, that's the point of signing. You need to pay phone carrier and/or other signing authority to sign your applications and CABs so they could run on production devices. Please see this for details: http://msdn.microsoft.com/mobility/windowsmobile/p ...Show All

  • Visual C# Create a folder with permissions set to This Folder, subfolders

    Basically my app creates 4 folders that gives a specific user certain permissions. I can create the folder find, and i can give the user the correct permissions, but by defaulse it has Apply To set to this folder only, so if the user creates a folder, they wont have permissions to access it. I want to give it permissions that Apply to: This folder, subfolders, and files. I have spent hours upon hours trying different things, and trying to find the answer anywhere. Any help is greatly appreciated. Here is my code to create the folders: string mailDataPath = "E:\\Data\\MailData\\" + logonName; string userDataPath = "E:\\Data\\UserData\\" + logonName; string userProfilePath = "E:\\Data\\UserProfile\\ ...Show All

  • Visual Studio Express Editions printing tabs in a text file

    I am building an application that compares 2 text file and displays the lines that are different. I have it to the point when it displays the lines with the tabs seperating the different fields but when I print the file, ( I am saving the comparison to a text file) the tabs seperating the fields go away and it's hard to read. How do I get the tabs to print I am new at this so if you could keep it simple. I tried you suggestion but it didn't solve the problem. I think the C# language does something to the unprintable tab character to make it disappear. I'm looking into replaceing the tab with spaces but I don't know the control code or how to find a tab, in Word it's ^t but I'm sure it's not that way were. T ...Show All

  • Visual Basic AVICap class question in VB 2005 Express

    I have gotten code to capture webcam video and stills using the AVICap class.  There are several constants defined at the start of the program, such as: Const WM_CAP_START = &H400S Const WS_CHILD = &H40000000 Const WS_VISIBLE = &H10000000 Const WM_CAP_DRIVER_CONNECT = WM_CAP_START + 10 Const WM_CAP_DRIVER_DISCONNECT = WM_CAP_START + 11 Const WM_CAP_EDIT_COPY = WM_CAP_START + 30 Const WM_CAP_SEQUENCE = WM_CAP_START + 62 Const WM_CAP_FILE_SAVEAS = WM_CAP_START + 23 Const WM_CAP_SET_SCALE = WM_CAP_START + 53 Const WM_CAP_SET_PREVIEWRATE = WM_CAP_START + 52 Const WM_CAP_SET_PREVIEW = WM_CAP_START + 50 I want to add some commands (such as WM_CAP_DLG_VIDEOSOURCE to ...Show All

  • Visual Studio Express Editions Making the Exit Button not shut off the application

    Hello I'm a beginer at VB Express and need HELP!!!!! I'm designing an application that does not allow the user to click the exit button. You know, if you click on it it goes beeeeeeeeeeeeeeeep! It has that fade away effect but you can see it. How do I make the exit button not exit I'd appriciate code and responses THANKS!!!!!!!!!!!!!!!!!!!!!!!!! No, you can only zap all the buttons. It doesn't work anyway, the user could still exit your program with Alt+F4. You need to implement the FormClosing event handler (Closing in .NET 1.1) ...Show All

  • SQL Server Help with installing VS Tools

    Hi, I have a problem with the installation of SSCE31VSTools-ENU.exe into VS2005. The installation ended after a few seconds although in the event log there is information that the product is successfuly installed. However, when I run Visual studio there is no project under Smart Device regarding SQL Compact database or something similar (there are only templates for: device application, class library, control library, console application, empty project and nothing more) VS2005 is in this version 8.0.50727.762 (SP.050727-7600) In application event log there is: Product: Microsoft SQL Server 2005 Compact Edition Tools for Visual Studio 2005 [ENU] -- Configuration completed successfully.'" Has anyone some idea if there is a ...Show All

  • .NET Development Unhandled Exception - Object reference not set to an instance of an object

    I've installed drivers for my HP printer but I keep getting an unhandled exception with the following detail: See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.NullReferenceException: Object reference not set to an instance of an object. at HP.CUE.Video.PlaybackControl.UpdateProgressBar() at HP.CUE.Video.PlaybackControl._ProgressTimer_Tick(Object sender, EventArgs e) at System.Windows.Forms.Timer.OnTick(EventArgs e) at System.Windows.Forms.Timer.Callback(IntPtr hWnd, Int32 msg, IntPtr idEvent, IntPtr dwTime) ************** Loaded Assemblies ************** mscorlib Assembly Version: 1.0.5000.0 Win32 Version: 1.1.43 ...Show All

  • Visual Basic how to hide a Process From (Process.start("",a))

    Hey All, I try to figure out how to hide the porcess when using process.start() .Cause,when invoke this method which takes in a .exe and an argument.They will produce a result by displayuing a html page in an IE.So how do i prevent the result from showing. Thanks For Helping. Yah..its still display the IE.I think i cant do anything cos the IE html page came from the server itself.So do you think i can prevent from automactically display it.Anyway,i try your code just now,its work by not displaying the loading page of the Knexus.exe. Thanks Again ...Show All

  • Visual Studio 2008 (Pre-release) Message Contracts - Missing something...

    I am not sure how to explain this, so I’m going to show code, then try and ask the question at the end, so please bear with me… I have the following WCF Service (yes, very simplistic but will build out once basic functionality is working…): using System; using System.ServiceModel; using System.Collections.Generic; using System.Runtime.Serialization; using System.IO; namespace WCFService { [ServiceContract] public interface IServiceClass { [OperationContract] string InitiateOrder(); [OperationContract] BookOrder PlaceOrder(BookOrder request); [OperationContract] string FinalizeOrder(); } ...Show All

  • Visual Basic Select Case statement being evil

    The select case statement is out to get me! Has anyone else run into the trouble of having a Select Case statement and one of the case statements has hit if you look at the data, but refuses to hit anyway That probably doesn't make sense... Put it this way... I have, say, a ListBox control that has three IP addresses in it. For argument's sake we'll say the three items are: 192.168.0.1 192.168.0.2 192.168.0.3 These items have the indices 0, 1 and 2 respectively. Now, inside a function that receives a string of data (T) from a network user I have code that's something like this: Dim X As Integer For X = 0 To (ListBox1.Items.Count - 1) Select Case ListBox1.Items(X) Case T 'Code segment 1 Case Else 'Code ...Show All

©2008 Software Development Network