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

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

Vi

Member List

colinhugg
D4Soft
David Winningham
ThE ViKinG
soonerpat
GotGlock21
BLACKDOG2
Indinfer at Balt-Med
hoobler
Billzz
Wasmoo
BillMcC
Stephen Fisher - MS
Doug McCall
David Oyster
urkumar2000
LoveDanger
mhnyborg
SCISYS DBA
jocamp3
Only Title

Vi's Q&A profile

  • Windows Forms Error while accessing value of the control

    Hi, I have two combobox filled with data in a window form. I also have one more window from in which I have declared two variables. Now my requirement is that how can we access selected value from the combobox in first form to the valiable declared into second form. How can we access selected value of the combobox from any place in the working application. If possibe please provide some example. Thank you Create properties on the form with your comboboxes and have those properties return the SelectedValue from the comboboxes. ...Show All

  • Visual Studio Tools for Office How to detect item class in outlook object model

    I'm working on this outlook automation in visual basic and I need to dynamically figure out what type of folder (mail, contacts, tasks, etc.) the current folder is. I tried both olFolderInst.Class and olFolderInst.Items.Class and they always return the same value of olfolder and olitem respectivly regardless of what the folder is. How do I go about doing this Something like this should work: Outlook.OlItemType type = oYourFolder.DefaultItemType; switch (type) { case Outlook.OlItemType.olAppointmentItem; // We have an appointment case Outlook.OlItemType.olMainItem // We h ...Show All

  • .NET Development Reader.getstring(i) problem

    Hay, i use this code to recieve informaton from a Query and show this in a textbox. Dim mySelectQuery As String = "SELECT [Ring nummer],Naam,Jaar,Land,Vader,Moeder FROM Tvogel WHERE [Ring nummer] = '" & Me .Ring_nummerTextBox.Text & "';" Dim myConnection As New OleDb.OleDbConnection(myConnString) Dim myCommand As New OleDb.OleDbCommand(mySelectQuery, myConnection) myConnection.Open() Dim myReader As OleDb.OleDbDataReader = myCommand.ExecuteReader() Try myReader.Read() FormStamboom.Lbl1.Text = myReader.GetString(0) FormStamboom.Txtbox1.Text = myReader.GetStr ...Show All

  • .NET Development Internal .Net Framework Data Provider error 1

    I am getting "Internal .Net Framework Data Provider error 1" error while calling execute reader. Any body has idea what is the cause and fix This method is called many times and fails after a long run. I ran task manager and memory is hitting 100% before the error. Though I am not sure, if it is happening due to memory, the errror provide no information to fix the problem. stack trace : " at System.Data.ProviderBase.DbConnectionInternal.PrePush(Object expectedOwner)\r\n at System.Data.ProviderBase.DbConnectionPool.PutObject(DbConnectionInternal obj, Object owningObject)\r\n at Syst ...Show All

  • Visual Studio Team System SCC API Integration

    Is there going to be a way to use other development tools that previously relied on the SCC Api (Borland, Sybase, etc.) to interface with the new team foundation Please see this similar thread: http://forums.microsoft.com/msdn/ShowPost.aspx PostID=95917 ...Show All

  • Visual Studio Team System Team System - Website Under source control

    I have the Team Build Configured and I am also able to start the build from any of the client machines. The library, console, windows services and application are all compiling with out any errors but when it comes to compiling websites I am running into issues. All of these projects are under Team System source control. The website has Project references to other library projects within the same solution but the team build does not seem to be copying these referenced assemblies into the website's bin directory after compiling those libraries, because of this the website compilation is failing, is there any thing that i need to do ...Show All

  • Visual Studio Team System Server Timeout when creating a Team Project

    Hi all, Can anyone advise how/if i can combat this issue. I have 2 work item type files, both around 90k 2500 lines in size. When i try to create a team project in VSTS the status bar gets to work items created - then the project fails, server timed out. The whole process does take around 4-5 minutes, is this due to the size of my work items or can i increase the timeout settings to avoid this The project is available afterwards and is useable. I can then go on to use the witimport tool to make any changes. However it is still exceedingly slow. Is there a recommended size for a work item if necessary i can post my work item type file. Jame ...Show All

  • Visual C# Newbie: How do I generate a report without a database?

    Hello, I'm following the tutorial in Visual Studio 2005 on how to generate reports with Crystal Reports, but the samples require the existence of a database.  If I just determine the values of 10 variables in a Windows App, and want to create a report to display (and save as a Word file or print) those values in a nice format, how can I do that   Is there a way to use Crystal Reports without needing a report file (.rpt) or database file (.mdb) to start with Thanks in advance, Don You can create a blank report, add ten parameters (one for each field), place the parameters where you want them on the ...Show All

  • SQL Server Can't find properties

    This is the first time I've used SSRS. I've created a report and in preparation for deploying it I am trying to find where I set the properties. In Visual Studio 2005, in the Solution Explorer I right click on my .rdl file and select properties. The only properties listed are File Name (which is changeable) and File Path (which is not changeable). The property pages icon in the same dialog box is greyed out. Am I missing someghing Any help would be greatly appreciated. Thanks. Go to the layout tab and try clicking on an area outside of the white area where you place your report objects. This should give ...Show All

  • Windows Forms Dynamically determine column type for a cell?

    I am using a datagridview to display some data and allow user input. After they input a value, I capture what they typed and then do a retrieval of data for that record (row) in the datagridview. If I return 1 item, I'd like the adjacent cell to be a textbox that is read only for that row, however if there are more than 1 record retrieved, I'd like to have a combobox where the user can pick the value in the adjacent cell. Can this be done I have read some stuff about virtual mode, thought maybe it could help but am unsure. One option would be to make the adjacent cell a combobox column and automatica ...Show All

  • Visual Studio Crystal Reports Newbie. Is this possible.

    I'm new to Crystal Reports and want to know if the following can be done. 1. Can you created a Crystal Report dynamically from data contained within objects used in your application 2. If 1 is not possible, can you build an xml file  dynamically at run time through code and use this file for the crystal report. 3. When you are viewing a report in the Crystal Report Viewer is it possible to have the user click on a Row/Column entry and get information regarding that particular entry ie row and column index and value contained at that index. Thanks Matt Hi, I installed the RAS API that comes wi ...Show All

  • .NET Development Check Folder Permissions

    Hi! I have never tried something like this before, so forgive my ignorance. I need to check the folder permissions of a specific folder for the logged in user. In my app the user has a setting for an output folder, I need to check that the user has the appropriate NTFS permissions to that folder to be able to set this setting correctly. Can someone point me to a good resource where I could read about this A site with samples is ofcourse appreciated. Regards Leyan As a start, check the help for Directory.GetAccessControl() which returns a System.Security.AccessControl. DirectorySecurity object. ...Show All

  • Windows Forms Bingding data to checkbox

    i have table "DM" which have field "sex", this field have value true or false. i want bingding data checkbox for that field. my way That check box which name chkSex I have dataset which name dsDM I start bingding :   chkSex.DataBindings.Add(New Binding("Checked", dsDM.table("DM").DefaultView,       "sex")) When i edit data that no problem. Ho ...Show All

  • Visual Studio Team System How to use a custom WSS libray with TFS?

    How do I configure TFS to use a custom library instead of the default one when creating a new Team Project Thanks, Max Andrade Officially, changing the sharepoint site is an unsupported scenario.  We made this decision to reduce our testing cost for now.  We understand that many customers would like to be able to do this.  We are working on a whitepaper that will give peope info on how to do it manually.  I'll forward this to the owner of that whitepaper so they can comment. Thanks, Brian ...Show All

  • Windows Forms Load event fails to fire

    In my app the load event fails to fire if the code below is included in a custom control. Are any of the methods in that code "unsafe" so to speak protected override void OnFontChanged( EventArgs e) { base .OnFontChanged(e); using ( Graphics graphics = CreateGraphics()) { SizeF sizeText = graphics.MeasureString( "TestTekst" , this .Font); int heightText = ( int ) Math .Ceiling(sizeText.Height); FPControlSettings settings = FPControlSettings .Instance; this .m_lineSpacing = heightText + (settings.TextLineS ...Show All

©2008 Software Development Network