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

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

Prb222

Member List

lan yu
DoS
Hervé ANCHER
jmgscott
gavwel
KiranK
bmoneil
jbourne
Michael Forkey MSFT
Roro
EdgarRC
Pavan KumarKavuta
ZZia
Mozylon
JKMax
sgnet20
ddwby
einaros
SpeakerBob
Marc H. Young
Only Title

Prb222's Q&A profile

  • Visual Studio Express Editions Is it possible to connect to SQL Server Express?

    From the SQL Server Express web site it claims that you can use Visual C# Express 2005 with SQL Server Express 2005, but I have yet to find a way to make that happen. When I try to select a data source the only options I get are Microsoft Access Database File Microsoft SQL Server Database File When I try to select the latter, I just go on a wild goose chase where it claims that I don't have credentials with the server. When I use the re ...Show All

  • Visual C++ A difficult question

    Hello all, I have done C/C++ programming in university on DOS/UNIX machines. I want now to make the shift to Windows VC++. I am very confused about the various tools available. There is VC++ 6. VC++.net and VS 2005. Are these tools compatible If I learn one can I use the others easily Which one do you recommend I start with Can you recommend a good book Thanks in advance for your help. Hi, The C++ Tools th ...Show All

  • SQL Server How Can I use this code for Primary Key autogeneration

    Hi DECLARE @MyValue varchar(10) SELECT @MyValue = (SELECT RIGHT(YEAR(GETDATE()),1)+  REPLACE(STR(MONTH(GETDATE()),2),' ','0')+  REPLACE(STR(PlaceID,2),' ','0')+  '00001' FROM Provinces WHERE PlaceName='Kinshasa' ) SELECT @MyValue I written a code like this to generate (example: 5080100001 - 5 Year, 08 Month, 01 PlaceID, remaining digit should be automatic increment for the current month) unique number for everymonth. Accordin ...Show All

  • Visual Studio 2008 (Pre-release) Questions about creation of certificates in an application

    I am building a p2p application using the WCF peer channel. I would like the messages between peers to be secure (signed and encrypted).  To do this I need to have each peer use a certificate that is unique to that user.  The only things I have found on creating certificates has to do with testing of code signing, not use in real applications.  What I think I need to do, but have not found a way to do in code are the following: 1) ...Show All

  • Smart Device Development Validating Text box

    Hi, In my caluculator application i was using delgates concept. my problem is to avoid entering more than 8 numerics in the text box and to accept the numerics to be entered through the key board. Also it has to diplay the oprerator( 3+5 or 6/2) in the text box. my code is Public Class Form1 Inherits System.Windows.Forms.Form Private N As Double Private ope As Char Private Sub m1( ByVal S As ...Show All

  • Windows Forms Custom control containing child custom controls

    Hi Everyone, I have a question about the correct way to create a custom control that contains a dynamically controlled number of child controls. Basically i'm trying to implement a basic vector drawing control similar to that found in photoshop/xara/inkscape etc. I have a parent "vector" control that containes a number of "point" controls and "line" controls (where the lines connect the points). I figured this was t ...Show All

  • Visual Basic Returning multiple values from a function

    How can I return multiple values from a function Values could be different types.   Thanks Hi, You could return an ArrayList. This offers that flexibility that you can store objects of different types as well the size can vary if needed. Having a ref or out parameter is another option for achieving the same. Regards, Vikram ...Show All

  • Windows Forms Adding images to a Context Menu

    Hi, this is my first post to the forum. i m a new bie to C#.net previously working with VB 6.0 and a little bit experience of Visual C+ 6.0.  Do any1 know how can i add icons/images to the context menu.  Plz. help me thanx.  R ...Show All

  • Windows Forms DataGridView: why not remove new row when saving?

    I have a DataGridView bound to a BindingSource which in turn is bound to a collection of objects. In the BindingSource's AddingNew event, I will create a blank object, like this:     private void myBindingSource_AddingNew(object sender,         AddingNewEventArgs e)     {         MyClass obj = new MyClass();         e.NewO ...Show All

  • Smart Device Development UDP over activesync or NTP over TCP

    Hi - I'm trying to do something (fairly) simple. I'm trying to implement NTP (network time protocol) syncing over an activesync connection. The problem is, NTP uses UDP connections, and ActiveSync only allows TCP socket connections. I know my NTP class works because I've tested it over wireless and EVDO, but it freezes up over activesync (can't connect). Does anyone know how to: a) connect to ntp server using TCP -or- b) trick activesync into al ...Show All

  • Windows Forms Excel fields

    Hello I am trying to make in a database field the ability to make calculations inside it, like MS Excel. Does anyone knows how this can be done. Thanks Pedromdrp SQL compliant syntax isn't going to accept an = sign at the begining of&n ...Show All

  • Visual C# Loading MDIChild into MDI Wndow from a Dialog

    Hi, I have the following forms: form_MDIChild form_MDIContainer when a user choose a menu item on form_MDIContainer it will display a login dialog a\d i want if login was successfull to load the form_MDIChild into the form_MDIContainer. I tried this code before closing the login dialog but no luck. frmWorkingArea form_MDIChild = new frmWorkingArea(); frmMain form_MDIContainer = new frmMain(); form_MDIC ...Show All

  • Smart Device Development .NET Compact Framework Database Providers for Oracle

    What database providers are available in .NET CF for Oracle   Of those, what are free In looking I can't seem to find any, am I to assume that web services are the preferred mechanism to connect to a database with Thanks, Jeff. Thanks very much. Do you happen to know of any ones that are free   This application can't tollerate that type of licencing cost. Thanks, Jeff. ...Show All

  • Smart Device Development Deleting rows from datagrid

    I am trying to delete rows from the datagrid using the code below. When clicking on the button, the selected row disappears but re-clicking the button does nothing. Also, closing and re-opening the form, all the rows are present. Am very new to .net and compact framework, please help !!!! Private Sub btnDelete_Click( ByVal sender As System. Object , ByVal e As System.EventArgs) Handles btnDelete.Click ssceconn.Open() 'Sele ...Show All

  • Visual Basic Data Report in Visual Basic

    I am making a DataReport my query is something like this some time output of the query can 4 fields or some it can be 5 fields . Now how to make data report in this case Can somebody pls help me. Or give some idea. Layout for 5 fields and sometimes the fifth field will be blank ...Show All

©2008 Software Development Network

powered by phorum