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

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

gregori

Member List

athena
Pierre-Andre
Mario Ruiz
DaveRivera
davidwj
DiegoCrespo
Ph0enix
skatterbrainz
aghiondea
Dev_1
mattslav
dfeng
Aivars
sunny24
WineMan
Jim R
Mark Blomsma
Gurjot Singh
Cittri Farms
John Wilkie
Only Title

gregori's Q&A profile

  • SQL Server Error 0xC0047012 trying to import flat file in SSIS

    I'm trying to do a simple flat file import of a .csv file. The task keeps failing on me and I get the following error Error: 0xC0047021 at Data Flow Task, DTS.Pipeline: Thread "WorkThread0" has exited with error code 0xC0047039 I looked up the error codes and the only information I can find is that a thread is failing. What would cause this and how can I fix it I can open the same file in Excel without any problems. I'd really appreciate any insight that anyone has to offer. Bob, Thank you for the tip. I've been working on it all day and finally started coming to the same place yo ...Show All

  • .NET Development Help : XML Signed document properties

    Does someone has a simple example in c# or vb.net to make an Xml signature that includes SignatureProperties element type for the inclusion of assertions about the signature itself (cf. W3C recommendation: XML-Signature syntax and Processing http://www.w3.org/TR/xmldsig-core/#sec-o-SignatureProperty ). Thanks in advance for your answer. Moulincourt     Thanks Shawn, it worked great. The problem is solved by the override of GetIdElement (otherwise you get Malformed Reference). Your post was really helpful ! Moulincourt ...Show All

  • Visual Basic System.Runtime.InteropServices.COMException (0x800A03EC): Cannot access xls file

    Hello I am trying to retrieve the Worksheet name from an Excel spreadshet so I can load into a dataset for conversion to a .csv file. I am aware that Excel has that facility built in, but the users that use Excel are not familiar enough with Excel to use that feature, it is up to me to write an application that will do this for them. (Automate as much as possible, if you will.) Nevertheless, when I try to retrive the worksheet name, which is needed for objCmd, I receive the following error: System.Runtime.InteropServices.COMException (0x800A03EC): Cannot access 'IBM Legacy RISC Inventory.xls Some code snippets are included be ...Show All

  • Visual C++ How to convert CLR project to ActiveX

    I've got a Windows Forms Application. I want to convert it to ActiveX. Is it possible How noppo wrote: I've got a Windows Forms Application. I want to convert it to ActiveX. Is it possible How If you want to host it in an MFC application, that's possible using the new MFC-Forms helper classes like CWinFormsControl and CWinFormsView. They are internally implemented using ActiveX hosting. This allows you to use the WinForms Forms and Controls directly in MFC applications. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. HLSL Syntax Highlighting in Visual Studio Express

    Does anybody know how I can activate syntax highlighting for fx files in Visual Studio Express Hey, anybody out there, nobody of you uses VS Express (I'm a poor student. :)) Or does the HLSL syntax highlighting workes for all of you as expected Or don't you author hlsl shaders with VS ...Show All

  • Visual J# attachEvent using code-behind html

    Hi, We are having code in vj++ code-behind html project as below: public delegate void HTMLEventHandler(IHTMLEventObj e); mshtml.IHTMLWindow3 iwin3 = (mshtml.IHTMLWindow3)controller.DRecordWindow.getPeer(); iwin3.attachEvent("onresize",new HTMLEventHandler(resize)); public void resize(IHTMLEventObj o) { int x = o.getClientX(); int y = o.getClientY(); controller.docListener.click.setClipWindow(new Point(x,y)); } Here we classcast com.ms.com.IUnknown to mshtml.IHTMLWindow3 and then assign handler for onresize event of that window using attachEvent. This kind of code works fine with vj++, but we need to convert ...Show All

  • Visual C# Yield null

    I apologise if this has already been answered; passing null to a yield method seems to skip the method entirely. The following code does not print out anything to the console, nor does it throw an exception. [Test] public void CallMe() { Foo(null); } private IEnumerable Foo(IEnumerable i) { Console.WriteLine("Called!"); foreach (object t in i) { yield return t; } } Moving the foreach loop to a separate method does allow the Console.WriteLine to be called, but no exception is thrown. [Test] public void CallMe() { Foo(null); } private IEnumerable Foo(I ...Show All

  • Visual Studio Express Editions I think you are doomed

    Hi. I just ran the beta 1 cleanup utility, and it came up with an error. I manually removed vb2005 and then .net 2.0 beta. Now, when i run the setup for beta 2 vb2005, it just sits at the gathering informatin  window once the progress bar gets to 100. I have waited for a while and it still does not proceed. I have a fast pc if it makes a difference. I too ran the VB Express Beta 1 cleanup utility but have been totally unable to install Beta 2.  Even after providing MS with some diagnostic info there seems to be no way to completely clean my system of the old Beta 1 software.  I've given up tryi ...Show All

  • Visual Studio Team System Web Testing - When used in Load Test, nothing written to System

    Hi, Pretty beginner question, but unfortunitely I've run out of web-ex's to help me out. I am currently load testing a web site and have written a web test which retrieves data from the data source (10 rows) and inserts these rows into the web site. When run through Test Manager, this works and inserts records into the System. I have now included this test in a load test for 8 users, but I'm not quite sure how this is meant to add data to the site as nothing is actually written to the system. In addition I am having difficulty understanding how many requestes are made (as I can't see how many records are added to the system). Thu ...Show All

  • Software Development for Windows Vista Download latest windows sdk

    When I go to the downloads page and click on the link for windows sdk, I get a page that says that the download is not available. Does anyone have a valid link for the sdk Werdna wrote: When I go to the downloads page and click on the link for windows sdk, I get a page that says that the download is not available. Does anyone have a valid link for the sdk You can download our bits here: ISO http://download.microsoft.com/download/1/F/1/1F175034-FBF6-4D7B-B0A0-686A7997AD68/6.0.5383.1.1.WindowsSDK_Vista_idw.DVD.Rel.img Web download http://download.microsoft.com/download/1/F/1/1F17 ...Show All

  • Visual Studio Express Editions VB.Net & WMI & BCD

    All, I am trying to use enumerateobjects() in the BCD WMI programming and are having some problems. I have everything working except for this one function. If anyone has any experience with this please help. Here is the MSDN information on it. http://msdn.microsoft.com/library/en-us/BCD/bcd/enumerateobjects_bcdstore.asp My biggest problem is that I am getting a "Type Mismatch" error any time I pass a UInt32 into EnumerateObjects. That is what the value type is suppose to be but for some reason it is not working. I have tried to use Convert.ToUIn32(Cint(1)) and Convert.ToUInt32(CInt("1")) and even just use 1 a ...Show All

  • Smart Device Development UPDATE on a SQL Mobile database...

    Hi, here's my problem, i'm using a SQL Mobile Database with my application (PPC application) i've got no problem to connect to it and to query. But now that i'm trying to update fields, it just doesn't work. My syntax is correct, the UPDATE is made, but once i close the connection, i loose it. Here's my code : (note : checked as numOpe are set, this sub is located inside a class) Public Sub unCheck() If is_checked = False Then Exit Sub Dim cnn As New System.Data.SqlServerCe.SqlCeConnection(connectionString) cnn.Open() Dim Trans As System.Data.SqlServerCe.SqlCeTransaction Trans = cnn.BeginTransaction() is_checked = False Dim ...Show All

  • Visual Basic Object array and refference

    Hello , i write a class that stores data simple. the class was in the module and i import that module in the main form class. Name of Class>> DataSource Name of Object>> DS( ) i create an object array in the module by the following code Public DD() As DataSource   and then i add the following line to initialize the object array in button click event. DS(Index + 1) = New DataSource   Here index+1 show how many elements i want to be in object array. but when i run the project it succesfull but clicking the button[that contains the code] gives program a break and show the following error. An unhandled e ...Show All

  • Windows Forms check if the combobox's text is on its itemlist

    Im doing this durning the "lost focus" event:     if ( MyComboBox.Find(MyComboBox.Text) < 0 ) {       MessageBox.Show("This is not a valid value");       /* MyComboBox --- How can I restore the previous value */    }   My questions: Is there a property to check this If there's not, how can I restore the previous value . Thanks in advance. You're original post had showed the following:    if ( MyComboBox.Find(MyComboBox.Text) < 0 ) {       MessageBox.Show("Th ...Show All

  • Visual C# Exe path from file extension

    Any way in the framework to get the .exe file path from a particular extension TIA You will have to look at the registry under HKEY_CLASSES_ROOT and then examine the keys under the extension.I would suggest that you open regedit for example,expand the HKEY_CLASSES_ROOT and look for .sln.There you will find a subkey called OpenWithList and where you will find devenv.exe. Here is a bit of code that helps you associate an extension with a program.You can use this and it makes very interesting reading http://www.mentalis.org/soft/class.qpx id=5 ...Show All

©2008 Software Development Network