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

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

Novelle

Member List

prk
GSK_phili
Scott Dorman
danacton
Maramil
mrshrinkray
Netmaster0000
smoothdogg00
r3n
Kashif Arshad
errolian
2V.
mel_mel
pritha
mmoprg
Pradeep Gupta
Owend
xlordt
StefanKZVB
anydobbo
Only Title

Novelle's Q&A profile

  • Windows Forms Multi Select List Box

    I know this should be simple but I am new to C# and a DBA by day please don't hold this against me . Here is my question: I have a multi select list box in a windows form and I can't figure out how to get all the Select values so I can update the database. I can see them in the debugger and can obtain the value that was selected first but can't get the additional values. Below is the code which I am using in the selectionChanged event for this list box. Any guidance would be greatly appreciated if ( this .lb_availableLevels.Items.Count > 0){ if ( this .lb_availableLevels.SelectedItems.Count != 0){ for ( int i = 1; i <= count; i++ ){ label2.Text = this .lb_availableLevels.SelectedValue.ToString(); ...Show All

  • Visual C# ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified

    Hi All, When i tried to connect Oracle database(8i) .I am getting an error "ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified". My Connection string is : "Provider=msdaora;DSN=U500.WORLD;Uid=xyz;Pwd=123;" Please help me out to clear this task. Thanks in Advance Have a look at following http://www.connectionstrings.com/ Should help you. As you are trying to connect to Oracle Database, you might need to have Oracle Client installed. ...Show All

  • Visual Studio 2008 (Pre-release) Application.GetRemoteStream() break in RC1

    just moved an XBAP app from June CTP to RC1. the app is making an Application.GetRemoteStream() call to download a file to parse on the client (with a relative Uri). this used to work in June CTP, but RC1 returns a null (not a SecurityException). in fact, it fails in both partial trust and full trust. any idea what has changed Thanks, casey I tried your scenario in VS on the September CTP bits and it worked for me. There weren't many changes in this area from the RC1 release anyway that could have regressed. Can you share some info on your project for us to debug thanks! How is the XML file included (or not) in the project Can you send the project or *proj.user files Setting "-D ...Show All

  • SQL Server ReportViewer use in .Net 3.0/WPF?

    Hello, We are working on a WPF/.Net 3.0 based application and have some reporting needs. Is it possible to host the WinForms ReportViewer control in WPF context I have learned that WinForms controls can be hosted using WinFormsHost, but I wasn't sure about ReportViewer control sicne it's not really part of the .Net framework (I could be wrong about this). I appreciate any help/advice. Murthy Actually, you don't need to wait. The viewer control should work with the new framework just fine. There will be an updated version early next year but it will contain only bug fixes, no new features. ...Show All

  • Software Development for Windows Vista ddraw.h .....and ........streams.h

    Hi I really dont know what i m supposed to do..........I need to compile baseclasses in DirectShow in retail and debug version to create STRMBASD.lib (debug) and STRMBASE.lib (release). when i try........ i get a message saying it doesnt find "ddraw.h" . so i downloaded directx which had the ddraw.h ........ my question is can i use the include file which is in the directx to run the baseclasses solution in direct show. if in case i did where would STRMBASD.lib (debug) and STRMBASE.lib (release) be . where wud "steams.h be" .......cos in one of the reply .....it said it was in psdk2003 but i could,nt find it but when i searched it was in C:\Documents and Settings\kanishka\De ...Show All

  • Visual Studio Express Editions Do stuff on exit

    I wanna intercept the application when it want to shut down and ask a "Do you really wanna quit " question How do i do it :S . This must work even if the app i exited via the X button. Thanks! implement the form_closing event. once implemented enter this: if (MessageBox.Show("Do you wish to exit ", "Exit ", MessageBoxButtons.YesNo, MessageBoxIcon.Question, MessageBoxDefaultButton.Button2) == DialogResult.No) { e.Cancel = true; //cancels the event } ...Show All

  • Visual Studio Problem Deleting File

    We are trying modify our Team Build script to replace some source files before the compile is done. More specifically we want to replace some config files that are in a sub directory. My TFSBuild.proj section looks like this: <Target Name="BeforeCompile"> <Delete Files="$(SolutionRoot)\OrderMgmt\BusinessLogic\App.config" /> </Target> We also have a COPY task that uses the same path, which works fine if we remove the file that is supposed to be deleted before we run the build. So the path is resolving properly. Everytime we try to run the build with the Delete task we get the following error: error MSB3061: Unable to delete file "c:\Build\TeamProjectName\BuildName\BuildType\..\Sources\Or ...Show All

  • Windows Forms Other version is already installed

    I get this error message running setup created by VS 2005 Setup and Deployment project. Setup asks to remove old version of the program and install new one after this. What can I change in the setup project to prevent this - I want to update existing application without removing it. I tried to set RemovePreviousVersions to true, change UpgradeCode - this doesn't help. This should help: http://www.simple-talk.com/dotnet/visual-studio/updates-to-setup-projects/ ...Show All

  • SQL Server Report Model missing some fields

    I hope someone can clarify what I observe below. When I add a certain Table into my report model, one of the fields is not automatically converted into an attribute, but I'm not sure what the exact pattern is. This table has 3 fields as its key, two of them get included and one does not. The one that does not, is also added as a Role as it is used in a relationship within the DSV (Data Source View). Does anyone know what rules BIS (Business Intelligence Studio) uses in deciding which fields to automatically convert using the wizard and which to skip Perhaps I'm doing something wrong, or there is a workaround If anyone can shed any light in the issue, I'd greatly appreciate their comment. Thanks in advance and kindest rega ...Show All

  • Visual C# How easy is this in C#?

    Sorry for the very general subject line. I've been working on a problem for some time right now that will have two separate applications passing information back and forth and preferably sharing objects. To date, I've been working on this problem using C++ and the WinAPI. However, the WinAPI and Visual Studio c++ 2005 don't really integrate very well. I've been taking a look at C# lately, and it seems like the language would support this effort pretty well through the use of marshalling (a new concept to me), and multi-threading. I would like to hear from some experienced C# programmers their opinion on how easy this would be to implement in C#. There is an example in "Programming C#" that seems like it would accomplish the type ...Show All

  • Visual Basic CopyFile

    Hello I am trying to copy four files. It doesn't seem to work though. Here's the code: Dim DirectoryPath As String = "C:\" My .Computer.FileSystem.CopyFile( My .Resources.index, DirectoryPath & "index.html" ) My .Computer.FileSystem.CopyFile( My .Resources.readme, DirectoryPath & "readme.txt" ) My .Computer.FileSystem.CopyFile( My .Resources.swfobject, DirectoryPath & "swfobject.js" ) My .Computer.FileSystem.CopyFile( My .Resources.viewer, DirectoryPath & "viewer.swf" ) I mean it should work. This is the error it produces: System.ArgumentException was unhandled "Illegal characters in path." Also this comes up in the Watch 1 pane: ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Where is the download?

    It is 12:48 pm here (GMT + 1)... in Nuku'alofa (GMT + 13) it is tomorrow... So where the hell is my download link :-D I imagine when they said the 30th, they probably meant some time during business hours... ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Sprite Doesn't Animate

    Alrighty, here we go again with another problem. I used to use a simple sprite sheet, but in recent days I have found I need to add some more functionality. My previous spritesheet class would load a sheet which had all frames have the same height and width. They were laid out horizontally, and the height and width were hardcoded. It worked, but I wanted to make a sprite sheet loader that could load and animate any sprite sheet, provided there was an XML document to explain where to look on the sheet. Thus, the actual frames can be anywhere on the sheet, in any order, just so long as the XML file is correct. So, I wrote that class. Now, come time to test it, the animation part of it doesn't work. Hard coding a frame to use shows that ...Show All

  • SQL Server FTP Task not saving password in designer

    I am using CTP 15 and have created an extremely simple FTP task.  I enter three pieces of information: - Server URL - Username - Password Very simple.  I click "Test Connection" and it succeeds.  If I click "Ok", then try to re-open the connection manager and test again it fails.  The password text box is blank, but the properties window in BIDS for the FTP Connection Manager shows "*******" for the password. This seems like a very basic problem, anyone else have any ideas   My FTP task that utilizes this FTP Connection Manager also fails with a "missing password" type error message. Thanks, Josh Even though it doesn't appear in the Connection Manager, you should be able to see it ...Show All

  • SQL Server Cannot connect to oracle using SSIS on Windows 2003 Server with 64 bit

    Hi There, I did everything whatever is mentioned in the below thread. I installed the ODP.Net to connect to oracle. For some reason, if I test the connection using the connection manager in the BI studio, I get connection succeded msg. But If I try to run it and see the progress of the package in SSIS dev environment, I see a 'Class not registered error' or 'Connection not open' error. Can anybody please suggest me any workaround for this This has been killing me for a number of days.. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=159581&SiteID=1 Thanks. ...Show All

©2008 Software Development Network