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

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

Ivo6070

Member List

hhewson
Ronbb
DeadDante
Robert G Lewis
Spenceee
John1010
Rhubarb
Nitin Agrawal
rlnd
sanjay tiwari
HedleySohn
ndRandall
shmulik_segal
jk_uk2
Denvas
AdeptBlue
Andrew Buyan
Chris Marts
Yaboo
Thomas Israelsen
Only Title

Ivo6070's Q&A profile

  • Visual Studio Express Editions Adding images to a project?

    I want to sort of store my images I use in my program with my project, so that other people can see them is there a way to do this I have an image stored under resources but when i go to call it ie mapImage=My.Resources.Washington it says it isn't a member of Resources. Anyone know why this is the case, I have set it as an 'Embedded Resource'. The trick is when you have a picturebox you have go to the properties/image and import the images again. Because if they aren't listed the will no be recognized by the picturebox. Best regards. dp ...Show All

  • Visual Studio Team System Can't Manage to execute DTS Package in ASP.NET

    I have a very simple DTS package which export a table into a text file. Running the package from Entreprise Manager doesn't cause any issues. However, when running the package from ASP.NET code, the code is being executed with no error but the objDTS.execute doesn't not sent the txt file. I am using the same userId, password as in Entreprise Manager. Please help!!! In your reply, please considerer that I do not have the admin rights. Thanks in advance. Here is the code I use: Imports DTS Public Sub btnExecutePackage_Click ( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnExecutePackage.Click Dim objDTS As New DTS.Package T ry objDTS.LoadFromSQLServer("btn000136414&quo ...Show All

  • .NET Development AccessViolationException when sharing a pointer between C# and C++ DLLimport problem.

    Hi all, I am facing an AccessViolationException and I can't seem to pinpoint where have I gone wrong. I hope the experts here are able to provide me with an answer. Scenario: A C# WinForms (.net 2.0) program that creates a background/worker thread to call a C++ function via Interop (static extern method). The C++ function will internally do a loop, that will "break" out of the loop once a flag in the C# program is triggered. Now, issue is that it works for a few times before the AccessViolationException kicks in. The VS debugger points to the C++ function call as the culprit. C++ Function: _declspec ( dllexport ) bool StartCall( unsigned int *position, unsigned int *maxLength, ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. SWM Model Component

    Hi all! I just finished a simplified version of a swm loader component based on the classes in SpaceWars. I used X-Tatic's converter to transform the tiny.x model into swm http://astaroth.beatbuggy.net:8080/Downloads/x2swm_1_0_0_1.zip I sent the sources to www.xnaspot.com  , hopefuly, they will put it online soon. P.S. the smaple also includes components for a grid, and for FPS (which can be set to be displayed in the titlebar, screen or both)   Have Fun!   Catalin Zima  P.S. I also wait for XNAspot to post my sample of VertexTextureFetch in XNA ;) So we don't have to wait for xnaspot, any chance you could email us a copy of the swm renderer Or upload ...Show All

  • Visual FoxPro how can connect from asp.net to FoxPro Database

    hi I have asp.net (with C# ) program and i want connect to FoxPro Database but i dont know how can i do that . maybe Visual studio 2005 have Provider for it but can't find it . please help me thank you . Download the latest OleDB Provider http://www.microsoft.com/downloads/details.aspx FamilyId=E1A87D8F-2D58-491F-A0FA-95A3289C5FD4&displaylang=en and look at messages: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=306375&SiteID=1 http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=8996&SiteID=1 ...Show All

  • Visual Studio CDATE() Error in RDLC

    I'm having trouble with a line in my RDLC when trying to convert strings into dates I am taking the data from an xml file as a string and i need to convert the dates and decimal values into dates and decimals, so that when they are exported into excel they immediatly useable as dates and decimals. The only way i have found to do this is using CDATE(), which workd fine unless the date is blank. To get around this i am tring to use an IIF() and ISDATE() function which correctly identifies the dates and blank fields, but as soon as i put the CDATE() function in the formula it converts the dates, but brings up #error for all of the blanks. This is the line i am putting in the formula of the cell: =IIF(ISDATE(Fields!LeavingDate. ...Show All

  • Visual Studio 2008 (Pre-release) Proposed new property syntax for C# 3

    I'd like to suggest a simple new property declaration syntax for C# 3 that would virtually eliminate property clutter while being highly flexible. The syntax would consist merely of a type, identifier and then an expression in braces. For example: int X { _x } The compiler would translate this to: int X { get { return _x.Value; } set { _x.Value = value; } } In order to compile, _x would have to be a type that defines a property/field called Value of matching type (int). To see how this would be useful, consider a typical property definition: int _margin; public int Margin { get { return { _margin; } } set { if (_margin == value) return; int oldValue = _margin; _margin = value; OnMarginChanged (oldValue); ...Show All

  • Software Development for Windows Vista Inheritance from custom activity

    I wish to make a custom activity that inherits from another custom activity. My first activity "Activity1" inherits from System.Workflow.ComponentModel.Activity. My second activity "Activity2" should inherit from "Activity1". In the designer I attempt to change the "base class" attribute of "Activity2", but for some reason I cannot choose "Activity1" to be my base class. In other words, the <Current project> folder is empty and I can only choose from Referenced Assemblies. If I put "Activity1" in another Workflow Activity Library and reference that library from my other project it seems to work just fine. I do not however understand why I can't inherit from activities in my current project, and I would be very happy if ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. load content without Game

    I started a new GSE project and deleted the game instance. Instead I am using a windows form with a graphics device attached to a panelonthe form. This works fine. My problem is I can't get any content to load. Can I load content through a ContentManager without an instance of Game Thanks for any input on this. I also had this issue. Im using a UserControl and Xna. I created a simple class for the Graphics device and also put the Content Manager in there. I hope my messy code helps you somehow. internal class XnaDevice : IDisposable , IServiceProvider , IGraphicsDeviceService { private GraphicsDevice device; private static XnaDevice instance; public static XnaDe ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. xbox flickers while playing my game

    I'm working on a pong clone. It's going together well on the computer but the xbox has a terrible flicker to it. Spacewar works fine, and the windows version of my game works fine too. I have tried vertical sync being on and off. All I'm doing is creating a 1x1 quad with texture coordinates and transforming it with a 1x1 white texture. Any suggestions I don't think code is worth much here because again, it works fine on my computer. I'm pretty sure it's caused by something I'm *not* doing. Any suggestions public void Render(GameTime time, GraphicsDevice dev) { dev.Clear(Color.Black); RenderTex(dev, tex, p1Paddle.Center(), new Vector2(p1Paddle.Bounds.Width, p1Paddle.Bounds.Height)); RenderTex(dev, tex, p2Paddle.Ce ...Show All

  • Visual Studio 2008 (Pre-release) Syntax of Geometry property value

    hi, at the moment i'm lookin at a wpf sample. i was wondering how the syntax of the Geometry property within the GeometryDrawing class is defined. < GeometryDrawing Geometry = " M 0,0 L 0,1 0.1,1 0.1,0.1 1,0.1 1,0 Z " Brush = " Red " /> Can anyone explain the Syntax of the Geometry value Thanks, bkohler it says move to 0,0 and line to 0,1 etc and z means close the path ms-help://MS.MSSDK.1033/MS.NETFX30SDK.1033/wpf_conceptual/html/b8586241-a02d-486e-9223-e1e98e047f41.htm ...Show All

  • Visual C++ Pointers... when to use them?

    In general, when do you use pointers It is my first time working on a more-complexed-than-hello-world application and I get many errors regarding "stack around variable x is corrupted" if I did not use pointers. eg: SomeDllClass sdcObj; sdcObj.doFunc(); ... // End of Function This gives me the stack corruption error. SomeDllClass* sdcObj = new SomeDllClass(); sdcObj->doFunc(); ... // End of Function This is OK. Also, I learned in my C++ Appreciation Class that pointers declared in a class should be deleted in the destructor. When I did that however, I was given a "Memory Access Violation" error (I initialized the pointer in a function other than the constructor). Is it advisable to use pointers for every variable I ...Show All

  • Visual Basic Calling local parameters from subroutine

    I'm not sure whether it's possible to call local parameters from a subroutine. Anyway, e.g. Module Test dim z! public sub equation (x , y) as single z = x + y console.writeline("{0},{1},{2},{3}", x , y, z) End Sub '------Try-out using property Public ReadOnly Property testval() As Single Get Return z End Get End Property End Module For some reasons, when I call the "Test.testval" in another Class/sub it always returns "zero" instead of "x + y" valve. Any helps on how to get this to work would be very appreciated. Ah, sorry I forgot ByVal since I was typing the example from scratch. Thx, I know roughly how it works now. :) Is there any other ways for ...Show All

  • Visual Studio Express Editions Converting a ListBox to a TextBox

    I believe this is probably pretty simple.... I am creating a program to create a text file. The program is very simple. Upon load, you choose an active directory. The program then searches the active directory for a file type (in my case *.wma files) and returns the foundFiles into a ListBox (ListBox1). I have all of that figured out and working nicely. I believe what I need to do now is copy the contents of the ListBox into a TextBox so that I can export (even copy and paste would be nice, which I can't do with a ListBox) the files into a Text File. If I can just get the contents of the ListBox into a TextBox, I should be fine. How do I do that Why you ask I am archiving my music library onto CD and I want to be able to put the b ...Show All

  • Visual Studio 2008 (Pre-release) Generics Collection From CollectionBase

    In our business tier, most of our business objects include a collection type that is based off of a Generic collection inheriting from the CollectionBase. I'm trying to get those objects to seralize in a WCF service, and keep getting various exceptions. Either the connection is terminated due to a timeout (which isn't happening) or an exception about the server not knowing how to de-serialize the collection object. Does anyone have experience with this setup and can give me some pointers The code of the collection looks like: .csharpcode, .csharpcode pre {font-size:small;color:black;font-family:Consolas, "Courier New", Courier, Monospace;background-color:#ffffff;} .csharpcode pre {margin:0em;} .csharpcode .rem {colo ...Show All

©2008 Software Development Network