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

Software Development Network >> AtomZ .be's Q&A profile

AtomZ .be

Member List

Joannes Vermorel - MSP
Blader
Lehmberg
AmrishDeep
Jeepster42
C.A.R.
polymorphicx
CraigAP
Leitch
Eva_Hamberg
Luis Esteban Valencia Muñoz
jaxrpc
n0n4m3
elittle27
Rimey57
Joannes Vermorel - MSP
C.Etter
bongoMaster
Paulson
Elad_23
Only Title

AtomZ .be's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. XNA compiling problem

    Hi. I've just downloaded and installed XNA GSE. I've opened my first XNA Game aplication with Visual C# 2005 Express, but when i trycompiling it i get an error on line: " this.GameComponents.Add(this.graphics);" with following error message : "Microsoft.Xna.Framework.Components.NoSuitableGraphicsDeviceException was unhandled Message="The values used in the attempt to create the GraphicsDevice were invalid." I've read that it should get a blue screen when i compile a default XNA project with no other code in it, but that ain't happening. What could be the problem I haven't installed DirectX SDK yet...could that be it Thx for the help no DX SDK is not required. the DX runtimes ...Show All

  • Windows Forms Delete warning with bindingnavigator

    I have used the following code in my VB.NET program to delete a current record on the screen. Private Sub BindingNavigatorDeleteItem_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BindingNavigatorDeleteItem.Click If MessageBox.Show( "Are you sure " , "" , MessageBoxButtons.YesNo) = Windows.Forms.DialogResult.Yes Then Player_InfoBindingSource.RemoveCurrent() End If End Sub Now whenever I exit my program and then re-enter the program, the data is back. It's like it never deletes it. What am I doing wrong well if you added the database in your project/solution, select the database in the solution explorer and view it ...Show All

  • Visual Studio Making pdf default export format in crystal reports

    Hi all we are using the crystal reports that comes with Visual studio 2005 for developing a c# windows application. we need to make the pdf the default export format for report. can anyone tell me how this can be done. Thanks Hi, I have a the same requirment that came up and not sure how to do it. When the user click the export button, I need to default the format to PDF instead of Crystal format. I been playing with the code you've provided but with no luck. Can please explain where should the codes go to Also, the "Report.ExportOptions" does not exists. Please help. Thanks, Rick.. ...Show All

  • .NET Development How could I give parameters to my Windows Service?

    hi everyone, From my Service Manager built-in in MMC no problem at all because I can perfectly allocate both parameters in "start parameters" box but how do the same from NET START command Or even better, how from another VB application I've tried to do this: NET START "MyService", "sql1","Bd1" but it did not work. Let me know if possible do (at least) from DOS session. Thanks in advance for your time. ...Show All

  • .NET Development Best provider for oracle 9i

    hi Please tell me what is best Provider for connect to oracle or a dll like SqlHelper Each has it's own advantages. The Oracle providers generally have more features while the Microsoft providers for Oracle generally tend to be more reliable. Oracle also tends to support their drivers and providers for a longer period of time. For example, Oracle continues to support and update both their ODBC driver and OLEDB provider, while Microsoft no longer supports their ODBC driver and OLEDB provider for Oracle. With respect to .NET, if you need certain features that are not present in Microsoft's .NET library for Oracle then I would use Oracle's ODP.NET if you're working with the 9i client or higher. I ...Show All

  • Visual Basic msdn for vb 6.0

    I am in a situation where i have to work loads of with vb 6.0 application dovelopment and modification AND i want help , MSDN I installed is for .NET framwork This one is July 2004 Edition , Now Which edition should i get to solve my problem, or there is any in the first place I need help for Vb 6.0 And Not for Vb.NET T hese forums are for VB.NET and there are better places to find answers for older versions of VB. Maybe the VB6 newgroups - http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.vb.general.discussion&lang=en&cr=US Or perhaps the VB6 resource center http://msdn.microsoft.com/vbrun/ or perhaps www.vbcity.com may be useful places to search for answers on V ...Show All

  • .NET Development Start automatically Windows service

    I created a windows service in VS Standard .Net 2005 I installed it and set to start automatically, but when boot machine, an error 1053 occured. If I click in button to Start, everything is OK. I can stop it... Please, what can I do Tks! Perhaps the code in the your OnStart() method requires another service to be active. Make sure you do no processing in OnStart(); start a thread, setup some timers, that's about all you ought to do... ...Show All

  • Windows Forms Dataview row Filter issue

    When we use something like this to filter the dataview we get some error.....what could be the reason... filter=" [FieldName] LIKE 'adfasdfsd*asdfasdfasd%' "; dataview.RowFilter= filter; Could anyone explain the reason why * char is treat in special manner...... it act as a wild character if we simply do filter=" [FieldName] LIKE '*%' "; dataview.RowFilter= filter; it doesnot display entry starting from * , rather it display all the data without any filter applied. Eagerly waiting for the reason..... Thanks in advance...   I finally found the answer to my query in MSDN ......here is the answer to my query....However now i arrived to an dead end due to the issue of '[' and ']'. WILDCARD CHARACTER ...Show All

  • Visual C++ C2027 Error: Full class declaration required: Bug?

    Hi, This may touch on some obscure corners of the C++ standard, but I believe the example below should compile as is, without the full declaration of class Atom. Comments Thanks. Stuart ____________________ // Shows VC++ 2005 Bug Requiring Full Class Declaration Where Forward Declaration Should Suffice // Compile: cl /EHsc forward.VC.bug.cc (other options didn't make a difference) // Error: error C2027: use of undefined type 'rosetta::conformation::Atom' // Compiles without warning on: GCC 3.4 and 4.0, and Intel C++ 9.1 // Compiles if: // . Full Atom.hh header is included // , std::vector is used instead of vector1, // . vector1 dtor is made non-virtual // . typedef for Atoms_Iterator is removed // Something about the vector class hierarc ...Show All

  • Visual Studio How to pass arguments to Action programatically?

      Hi,   I have a problem how to pass arguments by executing action from another action programatically. Values passed by Execute() method of IActionExecutionService are ignored, I can't override argument from XML file and pass it to action Inputs. What I'm doing wrong I set name and type of item in dictionary correctly: public override void Execute() { Dictionary < string , object > arguments = new Dictionary < string , object >(); arguments.Add( "HelloMessage" , ( object ) "someobject" ); IActionExecutionService executor = GetService< IActionExecutionService >( true ); executor.Execute( "HelloWorldAction" , arguments);   &nbs ...Show All

  • Visual C# C# Visual Studio User Control Designer Bug

    Does anyone else have this problem I am using Visual Studio 2005 Professional, Service Pack 1 is installed just for information. This happens in all my controls, but only for labels. I have my labels in the designer partial class as internal, so I can refer to them in code from my client controller (parent object that does the displaying). Also my labels are in a seperate region called Controls in the designer. Just to give all the information. If I build and keep the designer closed, I can modify the code and everything works. If I open up the control in the Visual Studio Designer (The graphical editor) and so much as change a property or add a label, or anything, Visual Studio removes all my labels from the controls re ...Show All

  • Windows Forms i want to select the combobox value ?but there is some problem

    when i select the combobox value the following errors occur 1)An unhandled exception of type 'System.InvalidCastException' occurred in microsoft.visualbasic.dll Additional information: Cast from type 'DataRowView' to type 'String' is not valid. 2)There is no row at position 0 supportSupplier.vb Public Function BindField( ByVal ID As String , ByVal name As TextBox, ByVal address As TextBox, ByVal city As TextBox, ByVal phone As TextBox, ByVal sType As TextBox, ByVal creditFacility As ComboBox) Try qry = "SELECT * FROM Supplier WHERE IsDeleted = 0 AND SupplierID ='" & ID & "'" mTable = objDataBase.GetData(qry) name.Text = mTable.Rows(0).Item(&quo ...Show All

  • Visual Studio Visual Basic macro not capturing ItemAdded, ItemRemoved or ItemRenamed events

    Hello all, I've written a simple macro that displays a message box each time an event happens. This is working so far for, e.g. OnBuildDone from EnvDTE.BuildEvents. But unfortunately I cannot catch ItemAdded, ItemRemoved or ItemRenamed from EnvDTE.ProjectItemsEvents! This is the content of my EnvironmentEvents-module: Option Strict Off Option Explicit Off Imports System Imports EnvDTE Imports EnvDTE80 Imports System.Diagnostics Public Module EnvironmentEvents #Region "Automatically generated code, do not modify" Private Sub BuildEvents_OnBuildDone(ByVal Scope As EnvDTE.vsBuildScope, ByVal Action As EnvDTE.vsBuildAction) _ Handles BuildEvents.OnBuildDone 'Alert that we finished building! MsgBox(" ...Show All

  • SQL Server Count Item function

    Hi, I need to count the number of rows in my Item table. The following statement gives me the number i.e. 200. Select Count(*) As Counter From Item Group By Id How can I number each individual row so that the row will have a number next to it i.e. Select Count(*) As Counter, [Count Statement] as Number of the Row From Item Group By Id Thanks I am not sure, I get the following error. Server: Msg 195, Level 15, State 10, Line 1 'Row_NUMBER' is not a recognized function name. Server: Msg 170, Level 15, State 1, Line 9 Line 9: Incorrect syntax near 'b'. ...Show All

  • Visual Studio Express Editions Application settings? How do you load them in other forms?

    I can't find it in MSDN, but I'm trying to load application settings completed and saved in my Prefs form, and I'm trying to get them to load on startup in my Index(startup). Please help! Also, while I'm asking... Private Sub OptionsToolStripMenuItem1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles OptionsToolStripMenuItem1.Click If Prefs.CheckBox1.Checked = True Then 'Do nothing ElseIf Prefs.CheckBox1.Checked = False Then Prefs.CheckBox1.Checked = True End If End Sub I can't get this code to change the Prefs. CheckBox to True if it's not true. Help nobugz wrote: Your code needs surgery. I can't really make out how Index and Prefs are related. But try something like this: ...Show All

©2008 Software Development Network