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

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

tranders

Member List

xr280xr
Nikolaos Wakem
sunny123
zankun
csLearner
Philip Wagenaar - Nashuatec
bunkscene
zot166249
M. Nicholas
benwalker
Philips-HCR
Anton Rapoport
Ltayef
sjb500
jiapei100
n0n4m3
ReneeC
Matt_
DavidP5
GrkEngineer
Only Title

tranders's Q&A profile

  • .NET Development finding size of drive on network

    The Remote object is hosted in IIS (of server) and it includes a code to determine the size of mapped network drive on that server. I am having problems in determining its size, usinf DriveInfo class. The error it displays is that the specified drive couldn't be found or is not ready. Please tell me if anyone has observed this error message earlier To rule out security/networking issues - Can you determine the size of a local drive, and the size of a network folder ...Show All

  • Windows Forms Adding Help to my application

    Hi all. I am looking for a way to write "help" into my application. You know the good old ...F1. I have added tooltip to the controls with tooltip functionallity. Howerver...i can't find out how i can add tooltip to textboxes , buttons and so on. If i want to create help for all fields in my application (users presses F1 in a textbox) do i have to use something special or is there already something i can use i VS2005 Thanks. thank you for trying. I don't understand your code. What i need is the x and y posistion of my cursor. So i can set the right x and y for the help popup. my code today: private void tbPostalCode_KeyPress( object sender, KeyPressEventArgs e) { if (! Char .IsDigit(e.KeyChar) ...Show All

  • Visual Studio Object tree as Datasource

    Hi I'm using C# 2 in VS2005 and Crystal Report 10. I have xsd files to generate my C# classes, and I want to use these classes as DataSource. My root class has public fields, and sub-classes. When I add this root class as datasource, what should I do to see the subclasses members in the fields toolbox, or what should I do to use them on my report And how can I do to have my root class and another class as datasource Thanks ...Show All

  • Visual Basic Datagrid - Error?

    Hello, I have in a form a DataGridView called "DataGrid". The SQL script is generated by the user (in a previous screen). The result of this SQL script needs to be populated in this "DataGrid", but there seems to be a problem (I don't get data at all): Dim SQL_CONNECTION_GRID As New SqlConnection Dim SQL_COMMAND_GRID As New SqlCommand Dim SQL_DATASET_GRID As New DataSet Dim SQL_ADAPTER_GRID As New SqlDataAdapter(SQL_COMMAND_GRID) SQL_CONNECTION_GRID.ConnectionString = Some connection SQL_COMMAND_GRID.Connection = SQL_CONNECTION_GRID SQL_COMMAND_GRID.CommandText = defined in a separate screen (SQL script works) SQL_COMMAND_GRID.Connection.Open() SQL_ADAPTER_GRID.Fill(SQL_DATASET_GRID ...Show All

  • Visual Studio Express Editions Still got problem with Openfiledialog1

    Hello. Sorry to botther you again. am still having problems with OpenFileDialog1 when i open a file in RichTextBox, the file opens ok, but the problem is with Rich Text Files. when I open a Rich Text file i get garbage in the file as well, like this: {\rtf1\ansi\ansicpg1252\deff0\deflang2057{\fonttbl{\f0\fnil\fprq1\fcharset0 Courier New;}{\f1\fswiss\fcharset0 Arial;}} {\colortbl ;\red192\green192\blue192;\red0\green0\blue255;} {\*\generator Msftedit 5.41.15.1507;}\viewkind4\uc1\pard\highlight1\f0\fs20 \cf2 Private\cf0 \cf2 Sub\cf0 comboBox1_KeyPress(\cf2 ByVal\cf0 sender \cf2 As\cf0 System.Object, \cf2 ByVal\cf0 e \cf2 As\cf0 System.Windows.Forms.KeyPressEventArgs) \cf2 Handles\cf0 ComboBox1.KeyPress\par \cf2 ...Show All

  • Visual Studio One Report - Two DataSources

    Can I have on one report more than one DataSource I've the following code: con4.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;" & "Data Source=" & DbSource & ";" sSQL4 = "SELECT * FROM Observacoes WHERE [Data] LIKE '" & DataRelatorio & "'" da4 = New OleDb.OleDbDataAdapter(sSQL4, con4) ds4.Clear() da4.Fill(ds4, "Observacoes" ) relatorio.Subreports( "rptFichaProducaoColagemObservacoes.rpt" ).SetDataSource(ds4) But I need to filter the information from more than one table of my database. How can I do that Thanks, Joao Pinto http://senhorpires.blogspot.com/ Try t ...Show All

  • Visual Studio Express Editions Installing C++ Express on a Model Computer to be mirrored.

    I am building a new model computer to mirror a large number of workstations that are identical and need the same software on them. It has been requested that all the computers have C++ Express Edition. My question is: do I have to have a seperate registration for each of the computers that I mirror to, or will one registration work I do not know if there is an open license for the express products... but if you do not have an open license system or simular you will also have to activate some of the other MS Products that you install as well. But use you will have to register and activate each install of the Express systems. ...Show All

  • Visual C++ BUG: when throwing exception a copy occured.

    class Ex { public:  Ex()  {   destroyed = false;   cout<<__FUNCTION__<<endl;  }     //Ex(const Ex& v)  //{  // destroyed = false;  // cout<<"copy:"<<__FUNCTION__<<endl;  //}  ~Ex()  {   destroyed = true;   cout<<__FUNCTION__<<endl;  }    bool destroyed;  void M()const  {   cout<<__FUNCTION__ <<": "<<(destroyed "destroyed": "not-destroyed")<<endl;  } }; void M1() {  throw Ex();  } void M2() {  try  {   M1();  }  catch (const Ex& ex)  {   cout<<"Catch-beg ...Show All

  • Visual Studio Team System Missing "Add Work Item" from "Team" drop down list.

    I am evaluting Team Foundation Server RTM. I have Team Explorer installed on my Team Foundation Server. From Team Explorer I can click TEAM>Add Work Item>Add Task and it works like a charm. I also have Team Explorer installed on my client work station along with Visual Studio .NET for C# Developers. When I click on TEAM I have no ADD WORK ITEM option. I do have ADD WORK ITEMS using EXCEL or PROJECT and both work fine so I do not beleive it to be a credential problem. Any ideas Thanks in advance, Dave Dave, Few reasons I could think of. If the focused item in Team Explorer is the root or something not in a project, then that menu will not appear because it needs a "current proj ...Show All

  • Visual Studio 2008 (Pre-release) Play a musical note with WPF

    I was recently told that the concept of the MDX (managed direct X) API was obsoleted by Windows Presentation Foundation. So, I went about trying to re-write some of my old MDX code in WPF - and ran into a snag. I need to be able to produce a musical note... and I don't seem be able to do it programmatically any more. Even if I have to simply supply a frequencey and a duration - I can do that since the frequency range of musical notes is well known. Anybody know how to use .NET Framework 3.0 to play a musical note Any help is appreciated. - Thanks! MDX is definitely not obsoleted by WPF. There are some things in WPF that save you from having to use MDX in your apps, but it is not intended to replace it. The answer to your questio ...Show All

  • SQL Server Get week number with changed @@datefirst question

    I want to get the week number (according to ISO rule i.e. if most of the working days fall in the JAN set it to as week number 1). I know one stored procedure is available at MSDN to achieve this task. It works fine for me if the @@datefirst is set to 1 (i.e. Monday) but i have a strange requirement of calculating the week number according to ISO rule but the start date of week can be any day for example Saturday. When I try to run that procedure with my unique criteria I get wrong week number for some years Can any one tell me the more generic solution Your help is appreciated thanx thannx for your support... I had a breif look to your link but I think it is not the generic code as it is hard coding the day name (i.e. th ...Show All

  • Windows Forms Graphics.DrawString doesn't draw underline/strikeout on trailing whitespace

    When I use Graphics.DrawString to draw text, it refuses to draw the underline and strikeout on any trailing whitespace on the string that I pass in. As you can imagine, this makes implementing a custom text renderer somewhat awkward, because there are times when I want text to be formatted like this: " Red Text Italic Text " (number of spaces exaggerated for example) But since the renderer automatically drops off the trailing white spaces when rendering the red text, it ends up looking like this instead: " Red Text Italic Text " Does anyone have any idea if it's possible to make the renderer NOT trim the end trailing spaces off while rendering This is incredibly annoying and the only solution I can think ...Show All

  • SQL Server Transfer table with schemas other than dbo

    My problem is very simple and that is that I'm trying to copy some tables between databases, but these tables are in different schemas. let's say I have dbo.tableA sch1.tableA sch2.tableA sch3.tableA And I just want to copy let's say sch1.tableA to a Different DB. If I use Transfer SQL Server Object task and select the table and save the package and try to open the task again, all the tables with name TableA will be selected!! it seems like although it does show the schema ( when I am selecting the table manually ) but it doe snot store the schema detail in the tablelist collection property of the task. Would please recommend any other way to achieve this. Many Thanks in advance Hi Kolf, I concur. I don ...Show All

  • Visual Studio Change property value on decorator double click

    Hi, I would like to implement the following feature: I have a text decorator on a relation, mapped on a property, which value is an enum. I want able the user to click on the text decorator, so the value is incremented. I have surcharged the OnDoucleClick() method of the TextField Class: internal class ClickableTextField : TextField { public override void OnDoubleClick( DiagramPointEventArgs e) { base .OnDoubleClick(e); // Do some code to change value of property associated with decorator } public ClickableTextField( string fieldName) : base (fieldName) { } } I have also overrided the initialisation of decorator so my class ClickableTextField is created in place ...Show All

  • SQL Server Timeframe for Add-In for Office RTM

    When is the Add-in going to be updated for the RTM of office ...Show All

©2008 Software Development Network