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

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

nicodev

Member List

silentC
Stuman99
ruleDWorld
Scott Masters
wencey
Bapa
johnnyXNA
mamrg
elfenland
MarcoViY
chunkylover37
deltaspecops99
Vince Cooper 58
cjacquel
Interflex
johnd2
Christie Myburgh
Devin
moh hassan
Mark Cryer
Only Title

nicodev's Q&A profile

  • .NET Development Not able to use GetDataTableSchema

    hi, .Net 2.0 has added a new method to the DataTable class, GetDataTableSchema ( ). Not able to use it though. Even msdn docs dont provide an example. I will really appreciate if you can provide me with any simple example. Thank You. This method returns a XmlSchemaSet instance containing the WSDL that describes the DataTable for Web Services. Namespace: System.Data Assembly: System.Data (in system.data.dll) Syntax Visual Basic (Declaration) Public Shared Function GetDataTableSchema ( _ schemaSet As XmlSchemaSet _ ) As XmlSchemaComplexType Visual Basic (Usage) Dim schemaSet As XmlSchemaSet Dim returnValue As XmlSchema ...Show All

  • .NET Development Start of two Processes

    hi I'm a bit confused. why is it the case that if i start the first pdf and after the reader has opened i start the second pdf it immidiatly fires the exited event (for the second process) although i didn't close the reader. it seems to work fine when i use to different app like adobe reader and winword private void toolStripButton3_Click( object sender, EventArgs e) { Process p = new Process (); p.StartInfo.FileName = "c:\\1.pdf" ; p.Exited += new EventHandler (p_Exited); p.EnableRaisingEvents = true ; p.Start(); } void p_Exited( object sender, EventArgs e) { } private void toolStripButton4_Click( object sender, EventArgs e) { Process p = new Process (); p. ...Show All

  • Visual C# Console App: sending a series of commands

    I wonder if anyone can help me in building a console app to run a 3rd party app's console interface I have an application which can be executed from a console interface. Firstly I have to navigate to its parent folder, then I have to enter a command with switches. Something like this: C:\Parent_Folder>ConsApp.exe -a TestFile.doc -b TestOut.doc I've tried building this by implementing the Process class but I'm not having much success, though I atleast think I know where the problem is. My code is as follows: static void Main( string [] args) { ProcessStartInfo startinfo; Process process = null ; string stdoutline; StreamReader stdoutreader; try { startinfo = new ProcessStartInfo (); // use ...Show All

  • Commerce Server Feedback: reorder CatalogCreate.sql

    Just a bit of feedback here. When i execute \Program Files\Microsoft Commerce Server 2007\CatalogCreate.sql it throws a bunch of warnings along the lines of "Cannot add rows to sysdepends for the current object becuase it depends on the missing object 'dbo.ctlg_GrantPermissionIfExists'. The object will still be created." When I check the db after the script has completed, the missing object is there, it just needs to be moved to an early position in the script so these warnings aren't thrown. Michael. Max, When i execute that script on a blank database it runs successfully but i get all of these messages: Cannot add rows to sysdepends for the current object because it depends on the missing obje ...Show All

  • Visual Studio 2008 (Pre-release) How to: Implement aggregates with GridView and Grouping

    I'm trying to create a sort of Outline Grid. Where you can group and the Grouped item contains the sum. Eventually I need to include a Min and Max for dates. +/-Group1 20 50 item1 10 40 item2 10 10 I was thinking that extending the CollectionView and CollectionViewGroup might work, but before traveling down that long road I figure I'd see if anyone has had experience with this sort of thing. The goal is so that when you're creating the GroupItem style, you'll be able to reference ItemSum, just like ItemCount that currently exists. There is still an issue as to what column you need to sum, which I haven't really thought out yet. The other issue is that I'll need the group data to refresh when the item data changes. ...Show All

  • Windows Forms Change the explorer shell by my clickOnce application...

    Hello, I would like to replace the explorer shell on HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Winlogon for my clickOnce application. I try with name of the shortcut and it doesn’t work... Does anyone have an idea if it is possible and if yes how Thanks, Felix ...Show All

  • Visual Basic Run-time error '-2147467259 (800004005)'.... HELP please!!!

    I created a simple database program using VB 6. I use ADO connection. Though, I used DAO too for my DBGrid. I also use classes and modules. I was able to run and compile this program. I actually was using it for three months now. Then, i suddenly encountered this error: "Run-time error '-2147467259 (800004005)': Unrecognized database format:'<my .mdb path>'". I tried searching Microsoft KB but found none. I searched even the whole Microsoft site but to no avail. The only thing i remember before i encountered this is a MS patch was installed in my PC. The installation is automated by our company's servers. When i checked the last patch being installed before i encountered the error, MS06-034, it's a patch for ASPs which i ...Show All

  • SharePoint Products and Technologies Unable to retrieve external data for the following connections:

    Hi there! I am hoping someone can help me out with a problem I am having. I have created an excel webservice that contains a couple of pivot tables. I have add the spreadsheet into my trusted location, I have also added the data connection into the trusted location. So when I open up the dashboard containing the pivot table it displays the pivot correctly. My problem occurs when I try refresh the pivot the table I get this error. Unable to retrieve external data for the following connections: The data sources may be unreachable, may not be responding, or may have denied you access. Verify that data refresh is enabled for the trusted file location and that the workbook data authentication is correctly set Does ...Show All

  • Visual C# Dumb question

    Can anyone tell me whatwould be needed here to set the value to '0' zero and/or format the double. public double F04 { get { return this .Field04; } set { this .Field04 = value ; } } <newbie > If there is no value I want to return a .00 (similiar with a string thats null - you can return ''). Does this explain ..   ...Show All

  • Windows Forms Problems modifying context menu on the fly

    I have been trying to modify a context menu depending upon the view a user choose in a window. I have added a context menu in the design view and added 3 menu items. On load I set one of these items to be either invisible or unenabled (I have tried both) however in the 1st view I still get all 3 appearing. I can set this to unenabled/invisible in the design view and it works fine. As I cycle through the views (choosing the view based on the choice made on the context menu) I try to set various other items to unenabled/invisible. This does work however it does not set the correct one to unenabled/invisible, and seems to choose the one that it sets invisible based upon the 1st choice you make in the context menu. For example I have my contex ...Show All

  • Visual Basic How to check if an Array contains a string.

    I want to search through an array and find out if a certain string is contained within. But, Array does not have a Contains member so I do not know what else to use. Thank you, Troy L What do you mean by generic list of string My array is a string array, it contains only strings. I am currently using: For Each Item As String In MyArray If Str <> Item Then CbBox.Checked = True Else CbBox.Checked = False Exit For End If Next Str is the string that I am searching for. Basically it seaches the strings in MyArray and if it finds one that matches Str then it unchecks CbBox and exits the for statement. I do this for three Arrays and it doesn't please me. I was wondering if there was a more efficient way to search throug ...Show All

  • Visual Basic DLL Created with VB>NET Called by VB6 Application

    I have created a DLL using VB.NET that is a wraper around several DLL's supplied by one of our maufacturers. We're in the process of updating out applications to .NET but currently we need to call this wrapper from a legacy VB6 application. So I created a COM library with VB.Net and it works fine on the development machine. I did not use strong naming, but when I try to distribute it to test machine and run it I get the following message: "The digital signature verification failed because the signature file could not be found." Is it trying to tell me I need to use strng naming Does it allready think I am Thanks in advance. How are you deploying your application Did you use ClickOnce ...Show All

  • Visual C++ Making vcredist_x86.exe run silently

    Hi I am putting a software installer together, and one step I need to take is running this app to ensure certain dlls are present on the users system. At the moment, I am placing the exe in a temp folder, running it, then deleting it. I am using the NSIS installer scripting tool, so Exec "C:\temp\vcredist_x86.exe" is the line that does the business. Is there an argument I can pass to vcredist_x86.exe in order to make it run silently (ie without bringing up any popups about what it is doing ) Curiously, I cannot run the exe from a DOS prompt. Thanks OK, so you basically should take the command line way of installing the runtime. See the link of my previous post. -- SvenC ...Show All

  • SQL Server unknown error reports

    does any know what this means: "The SQL Network Interface library was unable to register SPN. Error: 0x5." /(and how to solve it :-)) and this: "FallBack certificate initialization failed with error code: 13." everything seems to workout fine, hmmm anyway, happy greetings from austria Irie mikky Due to the length of time since this issue was posted, I'm marking it as resolved. If you're still in need of help, please respond here. Paul ...Show All

  • .NET Development WEB service parameters styles

    Hello. I am implementing a client for a Web service defined on the JAVA server (JBoss AS). They tried to define a style for methods parameters as 'rpc' which meaning that parameters appear in the WSDL as they are defined on the server and .NET test application had problems when the number of parameters was greater than 1. Then they moved to 'document' style which forced WSDL to envelop a list of methods parameters into a structure and pass this structure as parameter. It is very inconvenient because the name of the structure is defined as a name of the method and there are other confusing elements in this solution. Can you provide any information about limitation or constraints on the list of parameters in WSDL generated by JAVA What ...Show All

©2008 Software Development Network