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

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

Vinayak

Member List

UnknownTT
hkay
jmsides
J2.NETe
phenshaw
Julien
andrew_05
JKohlhepp
TomasRiker
CodingIsFun
kripzlive
Allen Lewis
TimGlenn
Klaus Revermann
Matthew_TC
Anonymous1980
DRD
cc212760
AlexGadea
centexbi
Only Title

Vinayak's Q&A profile

  • Windows Forms Radiobutton focus oddity

    Looking for some insight... I have a large-ish VB.NET form with a bunch of controls on it (nothing too weird so far). On this form is a couple of radiobuttons, and occasionally when the form is opened, the first radiobutton gets focus (despite them being somewhere down the tab order). We're using VS.NET 2002, with framework 1.0. Any clues as to why this would be Thanks, Dave Yes, no worries there, I can shift-tab back to the earlier controls with no problems when this happens. ...Show All

  • Windows Forms Text box text format checking

    I have some text box which allow the user to key in integer and decimal. How do i do a checking on the text enter in the text box that it is integer ot decimal  E.g. Throw a error msg to the user when the user enter letters in the text box where the user is suppose to enter integer or decimal. As soon as  ...Show All

  • .NET Development Removing a Relationship in a Microsoft Access Database

    I am a C# developer, using a Microsoft Access Database for data storage. How can I remove a relationship between two tables from within my C# program You first need to determine where the relationship is in your code and what it's called. Then you can delete it like this: DataSet1 ds = new DataSet1 (); ds.Relations.RemoveAt(0); ... or ... ds.Relations.Remove( this .myDataRelation); I'm assuming you had the designer create a DataSet for you with all of the related tables, constraints, relationships and so forth Of so, finding the relation is easy: open up the DataSet in the IDE and fi ...Show All

  • Windows Forms Property Grid - displaying nested properties

    Hi !  Consider the following class definitions: Class Student {    //members    public int m_Age;    public string m_Name;    //Properties    public string Name{ get{return m_Name;}}    public string Age{ get{return m_Age;}} } Class School {    Student s1;    string m_SchoolName;        School()     {        s1.m_Age = 14; &nb ...Show All

  • Windows Forms How to get the URL when NewWindow event triggered in WebBrowser control?

    Hi, All    I am new to .Net framework programming and I was trying to code a multi-tabbed internet browser using the WebBrowser control introduced in .Net 2.0. From the documentation, I found that this control can raise a NewWindow event whenever the user right-clicked a URL and choose 'Open in New Window' menu item or the URL requests to be opened in a new window. The problem is that how can I get the URL that the WebBrowser tries to open in a new window Since I don't want it to open the URL in a new IE window but rather load it in a new tab in my program. Can anyone help me Thanks a lot. Chris C ...Show All

  • Visual C# Async Programming...

    I've recently made a wrapper class for .NET Sockets and I wanted to be able to make a sub routine that looked something like this... public void test() {     socket.Send("Whatever");     //Do some kind of Async call or sometthing and wait for reply from server/client without locking up UI thread...     //Handle reply }   You can execute it on a other Thread:   public void Test() {     Thread t = new Thread( new ThreadStart( doTest ) );     t.Name = "DoTest:Thread";     t.Start(); } private void doTest( ...Show All

  • .NET Development Getting System.Security.SecurityException during accessing WebService from WebPart

    I have created a Custom SharePoint WebService and I am using it in a WebPart. My WebService is working fine with Window application. but when I try to consume that WebService in WebPart I get following error:   System.Security.SecurityException: Request for the permission of type System.Net.WebPermission, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 failed. at System.Security.CodeAccessSecurityEngine.CheckHelper(PermissionSet grantedSet, PermissionSet deniedSet, CodeAccessPermission demand, PermissionToken permToken) at System.Security.CodeAccessSecurityEngine.Check(PermissionToken permToken, C ...Show All

  • Visual Studio Express Editions How to use C# sqlConnect.connectString for MS SQL server 2005 Express?

    what's wrong with these lines String connectionString = "Data Source=(local);Database=loler;Integrated Security=SSPI" ; SqlConnection cx.open(); it give me exception as: {"An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)"} System.Exception {System.Data.SqlClient.SqlException} Is that I have to set something in the SQL server configuration manager ...Show All

  • Visual Studio Express Editions Error with CurDir!

    Hi all, please could someone explain the problem i am having. To make this simple when i am using the CurDir property in Visual Basics it keeps displaying the wrong directory. When my excel document loads up i want it to dislpay what directory it is saved in. So i create the function: Private Sub Workbook_Open() Msgbox CurDir End Sub in the ThisWorkbook code form. When i close down the document and go file - open etc and open the file the directory is displayed correctly, no problem there. BUT When i close Excel down completely and double click on the document icon (let say i saved it on the desktop) it loads up excel and my d ...Show All

  • Software Development for Windows Vista Communication with the underlying transaction manager has failed

    SQLExpress is loaded in Win2k3 SP1 and Workflow sample project(web) is running in winXP SP2 i am using Transactionscope and placed 2 custom Activies in it. Initially i used to get "DTC not Enabled" error then i set the Secutiry Settings in MSDTC Properties then it is giving "Communication with the underlying transaction manager has failed" how to solve it Ravi, Did you enable the DTC as well as incoming and outgoing transactions on both the server machine as well as the XP one ...Show All

  • Visual Basic Extract typed info letter by letter

    What I'm trying to do is have a text box for a user to enter a name into, then extract each letter from that box in order, turn letters into numbers, then screw with that to come up with an apparently random number for later verification (see if the name matches the number). My question is- how can I get each number into a seperate variable, then change it into a number (and all letters be pre-defined, so it's always the same number for each letter)  Thx in advance.     P.S., don't be too technical, I've only been using this for about 2 months P.P.S, I have Visual Basic 6 version 6.0.8169 Enterprise Edition Y ...Show All

  • SQL Server Does the June CTP qualify for the GoLive Now program?

    I would like to use the latest build, but the April CTP is listed, not the June CTP.  Is this an oversight, or intentional Fernando, I am in the process of following up with MS Sales.  We are moving forward with SQL 2000, but would like to implement SQL2005 EE. ...Show All

  • Visual Studio Express Editions Having trouble watching training videos

    Hi, I'm trying to watch the training videos on Microsoft's site ( http://msdn.microsoft.com/vstudio/express/vwd/learning/default.aspx ), yet the video will pause while the audio continues. Anyway to get these videos to run smoothly without the video pausing for a minute every once in a while I can still here the audio though. Thanks! Leo I downloaded them and I still get the same problem.  For example, on the first video at exactly 15min : 11sec the video pauses and doesn't resume until about 18min : 21sec.  I personally dislike .wmv, I wish microsoft would have giving the option of a ...Show All

  • SQL Server SQL Beginner

    What is the best way to go about learning SQL   Where should I start hi, the problem is most of sqlserver tutorials talk about managment and adminstration of the server and this is too much for beginners , i love working with databases but i'm missing a nice tutorial from scratch, to help me first to implement what i know then tell me what's new . the only thing that i have found as a good start is this link http://msdn.microsoft.com/vstudio/express/sql/learning/default.aspx any tutorial suppose to take you first through small things like hello world applications and explain the out lines first n ...Show All

  • Microsoft ISV Community Center Forums Programming with MULTIPAGE

    Hi. I added controls in the multipage like text box, combo box and calendar button. The problem is there's no event for each control inside a multipage. I can put values in the combo box, I want to place values into another combo box based from his choices of the previous combo box. I hope you could help me on this. Thanks! Hi, The events of the controls held in the mutipage are still usable. If you double click the control the default event handler for the control is added to the form. The controls used in mutipages (tab control) are available seperate from the mutipage, what I mean by that is you don' ...Show All

©2008 Software Development Network