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

Software Development Network >> Eddie Garcia's Q&A profile

Eddie Garcia

Member List

Chiisana
Faldegast
arpan_1234
E Jensen
brian_tsim
BrettDerry
Alex-MyRpg
Balsoft
Gaurav G
Slyke
vc#tyro
Feng26
vijil
Alex Levin
Mohyneen
Eric Totten
Latso
TarPista
49btb
Seppe001
Only Title

Eddie Garcia's Q&A profile

  • Windows Live Developer Forums Reports not being populated?

    Hi there, I have setup 2 campaigns through the GUI. Their status reads "submitted". Both contain orders who's status also reads "submitted". However there is no dummy click/impression data getting added each day. The data the campaigns was suppost to start on has passed Is there anything else I need to do to get them running Cheers, Justin. Hi c2go, Im not sure if this issue has been resolved. As the company I was developing the app for are not elligible for API access, I have dropped the pen on this one! Sorry can't help. Justin ...Show All

  • Visual C# C# 2005 ignoring STAThread attribute

    Greetings. I'm developing a WinForms-driven application, and I need it to use Single Threaded model for COM interop. C# 2003 worked fine with [STAThread] attribute above main() declaration. But we just upgraded our machines to VS 2005, and our application is failing due COM errors. We found C# 2005 is creating the main thread as Multithreading model, regardless the STA attribute. Any idea why is this happening . Here is a snippet of our entry point code, not complex at all. Putting a breakpoint in the first line of main(), already shows the System.Threading.Thread.CurrentThread.ApartmentState as System.Threading.ApartmentState.MTA. #region Main /// <summary> /// The main entry point for the applica ...Show All

  • .NET Development Wrong value return by a stored procedure via DataSet generated by VC# 2005 Express

    Hello all, I have a stored procedure which returns a value (int). This value is an ID obtained after an insert and should be unique. see: ALTER PROCEDURE [dbo].[sp_AddJobDescription] @name nvarchar(40) = NULL AS BEGIN declare @id as numeric(18,0) set @name=ltrim(rtrim(@name)) if (@name is null) begin Raiserror('Name can not be null',16,1) return 0 end if exists(select * from tbl_JobDescription where name=@name ) begin Raiserror('Name not present',16,1) return 0 end begin transaction insert into tbl_JobDescription(name) values(@name) if @@error<>0 begin Raiserror('Error inserting element',16,1) rollback transaction return 0 end set @id=@@identity commit transaction return @id END I have created a ...Show All

  • SQL Server I cannot install SQL 2005 on my computer

    Hello everybody, I had installed vs 2005 beta 2 and I wanted to install SQL 2005, so I removed all the components which were installed and were beta edition by control panel and by the tool microsoft supply. I downloaded sql 2005 but when I wanted to install it, the installation showed me an error that I need to remove all the components that are beta and exited. The control panel show that there is nothing from vs 2005 beta but the tool try to remove 2 things and has errors. With Everest I see that the components of vs 2005 beta are still in my computer and I cannot remove them. Someone can help me I have been searching for an answer for 3 months without any success. Start with http://msd ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Rotation and Movement

    Hello, I have a little math problem.. I rotate a sprite when I use the RIGHT or LEFT button.. if (keyboardState.IsKeyDown( Keys .Right)) { RotationAngle += 0.05f; } After the rotation I want to move my sprite in the new direction (UP and DOWN button) if (keyboardState.IsKeyDown( Keys .Down)) { screenpos.Y += 0.9f; screenpos.X = screenpos.X; } --- ForegroundBatch.Draw(SpriteTexture, screenpos, null , Color .White, RotationAngle, origin, 1.0f, SpriteEffects .None, 0f); how do i have to calculate the new screenpos Please help me... Thx Greg thanks, that gives me some ...Show All

  • Visual Studio vssget and vsscheck in not working with vss6

    does anyone had a problem running vsscheckin and vssget. i am getting this error and cannot figure it out. i looked everywhere, and i found some problems with the vss converter and that i have to unregister and register ssapi.dll. i am still having issues and i do not have more than one copy of vss6d on my pc... any help will be greatly appreciated. i had to use a different class library but it does not have the vsscheckin. it does have get and label. i am running into a wall now... Setting environment for using Microsoft Visual Studio 2005 x86 tools. C:\Program Files\Microsoft Visual Studio 8\VC>cd c:\ C:\>cd C:\TestProject\Src\build C:\TestProject\Src\build>msbuild sample.proj Microsoft (R) Build Engine Version 2 ...Show All

  • Visual Studio 2008 (Pre-release) Open a xaml window from a C# form

    This is probably a newbie question, but why cant i start a new c# windowform project and add a new xaml window to the project, and then add a button in the c# form to show the xaml window i got all the referances added, but it gives this error: "Error 1 The name 'InitializeComponent' does not exist in the current context" so i comment it out. then it shows a empty window, but none of the xaml elements are loaded. I also tried to give the xaml elements name, but i cant reference to it in the Window1.xaml.cs file... Thx for response Found the answer to all my problems here: http://www.windowsforms.net/Samples/Go%20To%20Market/InterOP/Crossbow%20FAQ.doc " In addition, you will n ...Show All

  • Visual C++ Has casting to int from double changed completely in VS2005?

    Has casting to int from double changed completely in VS2005 Numbers that are too big are always -1 now. Which has caused me much pain to track down and is not compatible with code we currently use. Here is an example, it used to be that if you cast a big number to an int, you would some value that was related to it in some way: (int)1.0957837e+011 => -2090779696 But now it is always -1 if the value is out of the range of the int: (int)1.0957837e+011 => 0x80000000 Is there anyway to make Visual Studio 2005 use the old style of casting Thanks John Petritis I get an exception when casting using the old-style (C) cast from a double to a long when the value is extreamly large. The code dies in ...Show All

  • .NET Development Advice needed - persist data during a session without a database?

    If I have a list of things I want to have a user manipulate (add, re-order), but doesn't need to keep between sessions (no db storage needed), what would be the best way to go about that I'm quite new at .NET. Thanks. This question is off-topic for this forum (ADO.Net questions only please :-). http://forums.asp.net is appropriate for ASP.Net questions and the general Visual Studio forums on this site are appropriate for client applications. ...Show All

  • Windows Forms question of ListView,need help

    Hi, My ListView control contain a "quantity" column and i need to do the calculation on the total of the "quantity", does ListView control allow me to do it Does anyone know how to write the codes to read the rows which contains the data on ListView control Hi boban.s, Thank you for your help, i added the codes that given by you and it work excellent. Again, thank you for your help. ...Show All

  • Visual C# NewLine - Help plz...

    Hi there. I am trying to develop an application that uses a serial connected device. I' ve managed to create a UI that sends and receives data. Almost everything is working fine with the serial port object. My problem is that the serial port object sends one extra line feed, which terminates any receive of data of some commands. I would like to know how can I use the NewLine() property, so as to change the termination character. I've tried to write something like the following: port.NewLine = "\n" , port.NewLine = "null", port.NewLine = "\r", port.NewLine = "13" but none of the aforementioned ways worked. I would really appreciate any help of you. Thank you in advance.. ...Show All

  • Visual Studio Express Editions Database is fine, Visual Basic Express just can't connect

    I have an SQL Express Database that I've been working on with Visual Basic Express. The database is properly configured for network use: I've added myself in as a user, I have the correct connection string (I'm attaching it to the server instance rather than going in via a user instance ), I can connect to it from Management Studio Express, I've set it to accept local & remote connections, I've spent a while crawling the web looking for something I've missed out but I can't find anything. Here is the problem I'm having: If I create a Dataset, define tableadapters etc from one of the tables in the database in VB.net it works fine. If I create a dataset from a table, then Change the table definition, then right-click on the data ...Show All

  • Smart Device Development ORM tools for the compact framework

    Hello Everyone, Haven't found much info on this. Is anyone currently using an orm tool such as nhibernate for their compact framework apps Thanks! Ryan ORM is a nicety to speed up development. In the embedded world the speed of the app is generally more important. I wish I could use ORM but the apps I write generally have a lot more going on at the same time and I can't afford the performance hit along with the rest of it. I haven't tried NHibernate on CF but I don't assume it'd be that quick, I have tried DB40 though and that's can be about as reasonable as SqlCe ( e.g. too slow ) in a lot of situations so it might be worth checking out (requires a license for commerical projects). ...Show All

  • Visual C# Window message without creating a form?

    Hello, Do I need to create a form just so I can have a handle I want my application to listen to window messages but it actually has no forms. It seems a bit wasteful to create a form just to listen for window messages, cant I give my entire application a WndProc function I'd like to use the bare minimum resources to do this. The form will have nothing on it so I think the best way would just be to use CreateWindow() but I'm not sure what else I need to use this, or how to create a WndProc function for it. Is there any basic code examples for creating a window using purley the API IsshouFuuraibou wrote: One thing to note is that the form itself is not what caus ...Show All

  • .NET Development Passing parameter to stored procedure

    Hi All, I am using Visual 2005 and very new to C# Windows Application. I created a stored procedure and connected the database through bindingsource, which created dataset and Adapter. I have two combo boxes. ComboboxB is a dependent of ComboboxA. Now, how can I pass the value from ComboboxA to stored procedure value, e.g., "@StateKey" so that I can have the drop down list based on the selected value from A take a look at this for drilling down comboboxes, although this is doing it the "raw" approach http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=786157&SiteID=1 you would probably have to implement the SelectedIndexChanged event for the combobox then in here pe ...Show All

©2008 Software Development Network