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

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

Rod454654

Member List

Chrislm
Alvin Kuiper
Bobby Ma
Brendan Stewart
SnakeSV
Jeff Weber
beto81
shmulik_segal
bhoopathi
NorCis
Romano Jerez
Goat Spirit
bogibear
venp
agentf1
DigitalPenguin
rjo2
DanielN305517
kokob007
Yahweh
Only Title

Rod454654's Q&A profile

  • Visual Studio 2008 (Pre-release) Must load DataRows into an existing DataTable Exception in LINQ to DataSet

    Hello, I have written a simple application to learn LINQ to DataSet and I getting an exception. The exception is: NotSupportedException The description is: Must load DataRows into an existing DataTable. The code: DataTable customers = new DataTable ( "Customers" ); customers.Columns.Add( "ID" , typeof ( int )); customers.Columns.Add( "Name" , typeof ( string )); customers.Columns.Add( "Birthday" , typeof ( DateTime )); customers.Columns.Add( "Sallery" , typeof ( decimal )); customers.Rows.Add(1, "Ido" , DateTime .Parse( "25/11/1983" ), 1599.95); customers.Rows.Add(2, "Simcha" , DateTime .Parse( "20/4/1984&q ...Show All

  • Visual Basic Picture in a Picturebox

    Hi, Somebody knows how to shrinks a Picture and display it in a Picturebox without stretching it, keeping the same look. Me . PictureBox1 . SizeMode = PictureBoxSizeMode . AutoSize ...Show All

  • Visual Studio Express Editions Displaying MIDI files on a musical staff

    Any one know how to display a midi file on a visible musical staff I see programs like "Anvil Studio" that do this. Can this be done in visual studio I am most familiar with visual basic. Would like to create an application that would help me improve my music practise time by playing and displaying a midi file. Hi dugley well I am a musician and I think I am becoming quite proficient in vb but I would not even attempt it there are just too many things involved..like note length...pitch...velocity...timing...etc as I said, I think you would have to be a mathamatician and a computer whizz and a musician.....major task to be honest...I doubt if there is anyone in this forum ...Show All

  • Visual Studio 2008 (Pre-release) Deploying / Host a WCF Service in the real world

    Hello, I'm finally getting around to learning about WCF... Can anyone point me to an article which describes deploying and hosting a WCF service exposed to the outside world I'm not talking about the plethora of localhost examples; something more along the lines of the real world. For example, I know you can host a .svc in IIS as usual. But how would you exposed your service to the outside world if you have it hosted by a Windows Service or console app Do you still need IIS Also, if you support several different bindings do you have to expose them in different ways (other than the config file stuff) I'm running Windows Server 2003 x64 and IIS6 for the server. It also hosts other ASMX web services. I may eventually upgrade (or add a new ...Show All

  • .NET Development XPath expression - Sort multiple nodes

    Hi Is it possible to select all node in <Element> and have them sorted on, for instance: A, desc B, asc C, asc Something like: "//Root/Elements/Element[desc(A), asc(B), asc(C)]" XML: <Root> <Elements> <Element> <A>1</A> <B>23</B> <C>90</B> </Element> <Element> <A>20</A> <B>0</B> <C>14</B> </Element> ... </Elements> </Root> Kind Regards Not with XPath. Use XSLT for this. As has been asked many times, XPath is an expression language only and the result of an XPath expression does not alter the structure of the document -- s ...Show All

  • .NET Development The process cannot access the file because it is being used by another process

    Hey all This is annoying, I want to perform a copy or move or read operation on a file but the file is already open in word or notepad, whatever. No when I try for example to rename the file that is open in word the system tells me that I can't do it since word holds it. How can I do the same in C#, meaning checking if the file is open and alert which application holds it. Itzik When I tried your code, it does determine if the file is locked, but in doing so, it locks the file. I modified your code slightly to fix this. Public Function FileIsLocked( ByVal strFullFileName As String ) As Boolean Dim blnReturn As Boolean = False Dim fs As System.IO.FileStream Tr ...Show All

  • Software Development for Windows Vista Get return value from workflow

    I've a winform application which would interact with a workflow runtime to perform some approval tasks. When a user reviews the approval request, he can select either approve or reject on the winform application, it will submit to the workflow runtime to process, his action will be validated by the rules defined in workflow and it will return a result of his action (success or fail). I want to know how can I get the result from workflow when the workflow instance is completed. And how can I wait for result from workflow runtime after user submitted the action, because workflow is executed asynchronously with the winform application. Thank you very much! As previously mentioned use the WorkflowCompleted ha ...Show All

  • Visual Studio Team System Iterations disappeared from all combos

    We have 5 iterations defined in one project and it is possible to view them but all combos on paramters are empty. We are unable to view any report that depands on iteration parameter. How can I fix it Marcin Did you edit any of the reports The query used to populate the Iteration parameter is: WITH MEMBER [Measures].[ParameterCaption] AS '[Iteration].[Parent_ID].CURRENTMEMBER.MEMBER_CAPTION' MEMBER [Measures].[ParameterValue] AS '[Iteration].[Parent_ID].CURRENTMEMBER.UNIQUENAME' MEMBER [Measures].[ParameterLevel] AS '[Iteration].[Parent_ID].CURRENTMEMBER.LEVEL.ORDINAL' SELECT { [Measures].[ParameterCaption], [Measures].[ParameterValue], [Measures].[ParameterLevel] } ON COLUMNS , [Itera ...Show All

  • Visual Studio Express Editions Impossible to install visual studio 2005

    Impossible to install visual studio 2005 because the "vs_setup_msi could not be opened", i tried with different versions of visual studio like c# or c++ 2005 (express or standart) & i've allways the same message & can't install it. Visual studio 6 is installed & works fine & i know they could work together. I tried to install framework 2 before, to uninstall it before; i also re-install dotnetfx & i had no beta or express previous install. I looked for topics about this problem everywhere (Google, Msdn, different developpers forums) but if i found a lot of people who had the same problem, i never find a solution. What can i do Is there someone to help me Thanks in advance for any help. os: xp home + sp2 uptodate ...Show All

  • Visual Studio Addin Logging

    Hi, I want to add logging to my addin file. we are using standard loggers, so that you can configure them from the application.exe.config file. Of course we are running inside visual studio, and we don't want the users to have to deal with the devenv.exe.config file. Is there another way to do it Is there a config file for the addin dll something like myaddin.dll.config Is there a way to add logging level to the .addin file thanks. Hi Noa, Carlos is correct. Your addin, could make use of the devenv.exe.config, but we don't really recommend that. The only logging facility currently built into the shell is the IVsActivityLog interface. This is an interface defined in the Visual Studio ...Show All

  • SQL Server Problems with Windows Server 2003 R2 & Analysis Services

    Hello all, I got some strange problems with SQL server(Analysis Services). Operating System is Windows Server 2003 R2. When I process a dimension or a cube...frequently I am getting the error with File system...saying it can't access the xml files in DATA folder. Some times it completes without any errors. I worked with SQL server on Windows Server 2003 platform....and never seen such kind of messages or errors. any body have problems with Server 2003 R2 and Analysis Services or is it a problem with my installation regards, Thank you for the reply. yes, Symantec Backup Exec Remote agent for Windows Servers Norman Virus Control these two are installed on the server. rega ...Show All

  • Visual C# IDbConnection and get data in a dataset

    Hello Everyone, I'm using IDbConnection to connect to database and that works perfectly fine.... I can do something like this as well...and this is good too.... IDbCommand command = conn.CreateCommand(); command.CommandText = "Select id, description from lot"; IDataReader dr = command.ExecuteReader(); while (dr.Read()) { string some = dr[1].ToString(); } The problem I'm facing is how to return it in dataset, as I directly want to bind my controls....or somebody can suggest a better way to do it... Thanks, Harsimrat Then just change the line in my last post with this one: IDataAdapter _da = new SqlDataAdapter ( "Select id, description from lot"; , ...Show All

  • Visual Basic simple question textbox to textbox

    i am working with one form, i want the text inputed by a user from one textbox to be displayed in another read-only textbox thanks for your time I'm not sure what you mean... What didn't work If ReadOnly property is set to False, a user can enter the text in the textbox and you can change the same text from code. But if Readonly propery is True, user can't enter the text, but you can still change the text from code (by using textbox.Text property). Andrej ...Show All

  • Visual Studio 2008 (Pre-release) Richtextbox behavior

    Hi Which is the property which indicates that a paragraph contains a bulleted list or a numbering list in a richtextbox Thanks a lot You got it right, almost. Your code above will work in most common cases when your content has only Paragraphs within ListItems. But in theory, a ListItem can have any Block children. e.g. BlockUIContainer/a nested List/Section etc. e.g. consider following content. <FlowDocument> <List> <ListItem> <Section> <Paragraph><Run>aa</Run></Paragraph> <Paragraph><Run>bb</Run></Paragraph> </Section> <Section> <Paragraph><Run>cc</Run></Paragraph ...Show All

  • SQL Server Deleting duplicate records from a table.....

    I loaded one table via SSIS and found that it contained many duplicate records (from the input source). I can create a SQL task to delete them, but I wonder if SSIS offers and task "out of the box" to delete dups TAI, barkingdog I don't know about anything in SSIS to do so but here's a great way to do it using CTE's and Row_Number() http://www.sqlservercentral.com/columnists/chawkins/dedupingdatainsqlserver2005.asp ...Show All

©2008 Software Development Network