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

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

Ramone

Member List

benjcev
Neil D
intech
vsphp
Kaustubh194874
L_O_L
medicineworker
BJW
Aaron Stern - MSFT
Ferry Mulyono
TheJCMan
Johan Hertz
vbMark
Golden_Jammy
Phil at AUT
cgruenzner
cooz
Mary Lindholm
chrislee8
Pomelo
Only Title

Ramone's Q&A profile

  • SQL Server Stuck between "Failed to generate user instance" and "An attempt to attach...failed"

    I wrote an application using Visual Studio 2005 beta 2 which uses a SQL Express .mdf file, included in the project, for the database.  After installing Visual Studio 2005 RC and the SQL Express that comes with it (I followed all of the uninstall instructions first) I can no longer add a SQL Express database to any of my projects, nor can I open the SQL Express database in my original project.  When I try either of these tasks, I get the "Failed to generate user instance of SQL Server due to a failure in starting the process for the user instance.  The connection will be closed."  I read the thread which dealt with this er ...Show All

  • SQL Server obtain the name and path of a report

    how to save the name and the path of a report on my database when the user click save report Does this cover what you need http://msdn2.microsoft.com/en-us/ms155836.aspx ...Show All

  • Visual Basic Error when Minimized

    I have a form that uses Threads to process data every second.  I have noticed during testing, when the Form is minimized, I receive the following error (stack trace):   at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] param ...Show All

  • Windows Forms Problem with treeView - Object not set an instance to an object...

    I always have a problem when working with treeview. I have a treeview that looks like this: Root name - First node - First's node child1 - First's node child2 - Second node - Second's node child1 - Third node When I click on treeview this is code that is in treeView1_AfterSelect event private void treeView1_AfterSelect( object sender, System.Windows.Forms.TreeViewEventArgs e) { TreeNode tn = treeView1.SelectedNode; if (tn != treeView1.TopNode) { if (tn != treeView1.TopNode.Nodes[e.Node.Index]) { xml.ReadCodeContext(Convert.ToInt32(tn.Tag)); textBox1.Text = XmlContext.CodeText; ...Show All

  • SQL Server Can you please tell me where I'm going wrong in my asynchronous script component?

    Hi, Im new to this list and after many days of trying to figure this out-here we go Can you please tell me where I’m going wrong in my asynchronous script component I’m almost there but by using to variable iReadingCount to add the row is not quite correct. There has to be a better way !!! Thanks in advance Dave I have to process a data from a staging table this which has imported a data in a structure like this, each line has a tag which is a fieldname <MyName > followed by the value <Advice Note Number> is the Tag that tells me it is the start of the next record with the only gotca is ...Show All

  • SQL Server How to dynamically change width?

    Folks, We have some reports that have optional columns. We have them working very nicely, with the column showing or hiding based on values in the report -- works great. Except -- when the columns are present, the report spans onto two pages, when exported to PDF, in width. That's understandable, as there's a lot of extra data, and exactly what we want. However, when the columns are not present, we get empty pages instead, because the report doesn't automatically contract back onto the size that fits on one page. Changing the report to a Matrix won't work, as the hidden columns on some of these come as sets of three, ...Show All

  • Visual Basic change published project dir

    hi, after finishing my project i would like to publish it so i can burn it to a cd and if a computer doesnt have .net framework 2.0 it will install it before running my project. I know how to do this and can publish it with all the right files through the publish wizard. The problem is when i publish it, the running directory is a temporary one which i found out with the help of a couple of people and the application.startuppath command, and the shell commands in my project dont link properly because you have to put the .exes in the running directory. If i copy the \bin\release files to a cd including all .exe files (for shell commands) it w ...Show All

  • Visual Studio How to make custom tool window visible after user has closed it?

    I am looking at the sample apps provided for adding custom tool window. The problem is when I close the custom tool window, there is no way to make it visible again. The other tool windows are in the View menu pre-populated by Microsoft. Is there a way to automatically add new control windows to View->OtherWindows menu item in VS2005 IDE Thanks Pawan All the command bars not bound to the top of a tool window (for example, the command bar on the top of the solution explorer) are programmable. You need to create a command that is placed on that popup menu, that when executed shows the tool window. You ...Show All

  • Visual Studio Team System Adding Web Parts to WSS Project Portal

    1. If I try to add a new web part to the Home page (by clicking Modify Shared Page), I get an error ("an unexpected error has occurred) Is the Home page non-editable .. 2. Seems that the Remaining Work report in the Home page was created using a Page Viewer web part. Clicking on other reports navigates to the Report Viewer Url directly. Any reason why Report Explorer and Report Viewer web parts (the ones that come with SQL Reporting Services) were not used .. If I want to create links to additional reports, which method is recommended Should I use Report Explorer/Viewer web parts, Page Viewer web parts or direct Url navigati ...Show All

  • Visual C++ Dreaded C1902 error... but only through ssh?

    I'm running in to the dreaded C1902 ("Program database mismatch: please check your installation") error, with a twist... it only happens if I try to compile when logged on via ssh. I checked my environment ('env | sort' and 'diff' the output from both ssh'd and local), and then tried sourcing the 'good' environment in my ssh session, so it isn't that. What would cause this error to only show up on a remote login If it matters, I'm using password-less login and trying to build on an NFS share, but the compiler is local. 'type -P' on mspdb80.dll, mspdbcore.dll, mspdbsrv.exe returns: /usr/vc8/common7/ide/mspdb80.dll /usr/vc8/common7/ ...Show All

  • Visual Basic GDI+ Questions

        I have this beloved old VB6 program that has been converted to a sleek new vb2005 program. It's name is "Color" Color is a utility. It will sample pixels color anywhere on the desktop. It also gives me the x-y coordinates for a given location. It gives me the RGB color value in hex and decimal. I find that I used Color to measure dimensions a lot. and that I'm always having to(x1-x1) and (y1-y2) and awful lot. It's natural that I'd like to use Color to measure anywhere on the desktop or more accurrately what I'm seeing in the moment. So tonight I've been playing with GDI+. It's no problem to: dim g as graphi ...Show All

  • Visual Studio 2008 (Pre-release) WPF StartingUP Event. Plz Help! Urgent!!!

    Hello Everyone, I am a new user to Windows Presentation Foundation(WPF). I referred the Book "Windows Presentation Foundation" by O'Reilly. I could not see the "StartingUp" Event in the Application Class. Whether "StartingUp" has been Changed its name I tried the code like this: class MyApp : Application { static void Main(string[] args) { MyApp app = new MyApp(); app .StartingUp += app .AppStartingUp ; app.Run(args); } } Plz anyone help.... Thanks in advance, Dhivya. Yes, it has changed to Startup. You can find ...Show All

  • Visual Studio Express Editions cant create windows applications

    I did what was told about the comment lines in appSettings.htm like downunder. Step 5: Generate and build a Win32 application to test your paths. In Visual C++ Express, the Win32 Windows Application type is disabled in the Win32 Application Wizard. To enable that type, you need to edit the file AppSettings.htm file located in the folder “%ProgramFiles%\Microsoft Visual Studio 8\VC\VCWizards\AppWiz\Generic\Application\html\1033\". In a text editor comment out lines 441 - 444 by putting a // in front of them as shown here: // WIN_APP.disabled = true; // WIN_APP_LABEL.disabled = true; // DLL_APP.disabled = true; // DLL_APP_L ...Show All

  • Visual Studio 2008 (Pre-release) UpdateSource and UpdateTarget documentation is mssing.

    Would like to know what they do, how to use them, but... ms-help://MS.MSSDK.1033/MS.WinFXSDK.1033/cpref30/html/T_System_Windows_Data_BindingExpressionBase_Members.htm Don't forget that still a Beta version so documentation may be missing ;) But: http://windowssdk.msdn.microsoft.com/en-us/system.windows.data.bindingexpressionbase(VS.80).aspx http://windowssdk.msdn.microsoft.com/en-us/system.windows.data.bindingexpressionbase.updatesource(VS.80).aspx http://windowssdk.msdn.microsoft.com/en-us/system.windows.data.bindingexpressionbase.updatetarget(VS.80).aspx HTH Bye ...Show All

  • Visual C# How to use SNMP in C#

    Hi people, I would like to create C# clients that will use SNMP to communicate to a C# manager and I would like to know what namespaces to call, what classes, etc. I have not been able to find C# examples on this (only WMI examples), so if anybody can give me some or give me guidance, I will really appreciate it. Also, as a general question, what will you people suggest, have the clients listenning/talking through a port and have a similar behaviour on the manager or use SNMP Thank you! Hi Rijckewaert , Can you refer this article for more details about SNMP. http://www.codeproject.com/useritems/SNMPDLL.asp Cheer. ...Show All

©2008 Software Development Network