mor911's Q&A profile
Visual Studio Express Editions C2065 and C2146 errors, with code!
Hi, I am somewhat new to using Visual C++, and this particular compiler, so I started on a tutorial to learn how, but the tutorial gives me errors, anyone know how to fix this ...Show All
SQL Server Help me remind me why I never run a package from a package
Hi, For some reason, I stay away from executing a package from a package. I guess that this is because I have experienced issues with this in the past and because I have read some articles in that forum that pin point specific issues when you do this. So far I try very hard to either combine all I need in one package or I break it down in multiple packages and use SQL Agent to drive the package chaining. Does anyone has a better experience with SP2 as far as running child package from parent package is concerned Any bugs remaining out there Thanks, Philippe Running SP2 here, no problems at all with parent-child package operation. The key factor is using a package configuration for s ...Show All
Visual Studio Testing an Itemgroup in a Propertygroup Condition
Hi, Is it possible to test an element within an itemgroup from a property group I tried but its not evaluating and I know my systax is right there is no errors during a build. e.g. < ItemGroup > < ConfigurationToBuild Include = " Release|Any CPU " > < FlavorToBuild > Release </ FlavorToBuild > < PlatformToBuild > Any CPU </ PlatformToBuild > </ ConfigurationToBuild > </ ItemGroup > < PropertyGroup Condition = " '$(ConfigurationToBuild.FlavorToBuild)'=='Debug' " > < DeploymentServer > Radon </ DeploymentServer > < DeploymentSharePath > DeploymentTargetDEV </ DeploymentSharePath > & ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Does Xbox 360 controller also work for Windows?
Does Xbox 360 controller also work for Windows or do I HAVE to buy the Windows version of the Xbox 360 controller The wireless receiver is available now are retailers. http://www.xbox.com/en-US/hardware/x/xbox360wirelessgamingreceiver/ Cale ...Show All
.NET Development Datatable in untyped dataset
Hello, I'm trying to create a untyped dataset and filling it up from and SQL database. here is part of the code: ObjReader = New DataTableReader(SWInventoryDataSet.Tables( "PC" )) If ObjReader.HasRows Then ObjReader.Read() SRRtvDataBases_Local( "Select * from PC_Print where PCID =" & "'" & ObjReader( "PCID" ) & "'" , "PC_Print" , DataAdp_PC_Print) End If ObjReader = Nothing Private Function SRRtvDataBases_Local( ByVal SQLCommandString As String , ByVal TableName As String , ByVal TableAdapter As SqlDataAdapter) As Boolean Dim Local_Table As DataTable 'Reads the table TableAdapter.SelectC ...Show All
Visual Studio Sandcastle - Feb CTP
Hi Anand, I know you are very busy right now but will there be Feb CTP Noral Noral, Yes I am working on this and it will be either tonight or tomorrow AM. Anand.. ...Show All
Visual C# Adding a referece to a dll in a project
Hi, What is the difference between adding a dll reference and adding a project, to the current project Suppose I've a Sample.dll and Sample.csproj. In the "Add New Reference", I can add Sample.dll using .NET tab or use the Projects tab to add the project, if the Sample.csproj is a part of the current Solution. thanks The projects tab will only ever show projects in the currently loaded solution. So it wouldn't make sense for it to have a browse or an add button. The way you get new projects to appear in this tab is to add them to the solution. Does your solution have multiple projects in it If it does, and yet the Add Reference -> Projects tab is showing up empty, that suggests that there's something wr ...Show All
Windows Forms GDI+/C#: Transition between two images
I have two images that I wanted to transform. http://img462.imageshack.us/img462/7600/day8iz.png http://img254.imageshack.us/img254/1530/night7hv.png Because I'm not going to be using Windows Presentation Framework (formly code-named "Avalon"), I wanted to use .net Framework 2.0 with GDI+. How will I do this Will this require math for subtracting the differences between two colors, divide by 100, and subtract the color by number that I've divided by 100 For example, in pixel X:0 and Y:0 of day.png and night.png, day.png has a color of R:64, G:224, and B:255. Night.png has a color of R:0, G:24, and B:32. So here's how I do it: day.R - night.R = 64 - 0 = 64 day.G - night.G = 224 - 24 = 200 day.B - night.B ...Show All
SQL Server Time intelligence
I was trying to using the BI wizard and add time intelligence, but when I try to do so, I get an error stating: "One or more dimensions do not have a data source view. The time intelligence wizard can only be run if a data source view is present." Does anyone know how to get around this error Thanks! ...Show All
Smart Device Development Find the current cursor position...
Hi all. In my application (CF.NET 2.0), I have to find the current cursor position. I use this code: ... Point p = this .PointToClient( Control .MousePosition); ... Bur the point p is always (0,0). The result dosent change when I use a Connection to PPC or an Emulator. Do you have any idea Thanks... Many devices have touch screen which does not really have a cursor. The position of the stylus is not tracked and is unknown unless it is in contact with touch screen. Does your device have a cursor ...Show All
Windows Forms Tabs like VS2005
I wanted to ask if anybody knows any control I can use in order to have the same "tabs" as VS2005. I mean the tabs which appears when we are opening a form or a class on the top of the window which is displaying the code or the form. If you didn't understand about what i am talking, i will try to draw them here :) They look like: _________ _________ / Form1.cs |/ Form2.cs |_________________ And we are using them to navigate between the classes / forms which are open. Thank you. also Look for thos tab controls TabStrips: A TabControl in the Visual Studio 2005 way! A VS2005-like Interface TabStrip control ...Show All
Game Technologies: DirectX, XNA, XACT, etc. capture audio
Hi! REALLY sorry to post this here but didnt know where else! is there a way to capture audio from the sound card I am trying to use directX but the sample I have seen is hard to understand unfortuantly :( How do I capture audio either using DirectX or some other method I want to capture it to a normal wav file Thanks! :-) Use the Windows MCI Command Interface. You can easily do playback and recording of sounds and save as a .wav file. I have a tutorial on my website to show you how to use the interface and customize to get it to do almost anything you want. After the initial learning curve you should pick it up quite easily. My site is: http://www.vbcodesource.com or http://www.vbcodesource.info (Beta Version) Hope t ...Show All
SQL Server How to write Select Statement inside CASE statement ?
Hello friends, I want to use select statement in a CASE inside procedure. can I do it of yes then how can i do it following part of the procedure clears my requirement. SELECT E.EmployeeID, CASE E.EmployeeType WHEN 1 THEN select * from Tbl1 WHEN 2 THEN select * from Tbl2 WHEN 3 THEN select * from Tbl3 END FROM EMPLOYEE E can any one help me in this please give me a sample query. Thanks and Regards, Kiran Suthar forgive me but i think there's some problem with the database design. can the content of those several tables be merge into one. i think this is a many to many relationship a member can be a member of many section and a section can have many members. ...Show All
Windows Forms How to Fill 1st textboxcolumn of Datagrid...
hi, In my application...I have a datagrid on my form.My datagrid contains a textcoxcolumn & a comboboxcolumn…so I want to know how I can put values in textbox column on form load event…. Say I have 5 rows & I want those 5 rows to have 5 strings in the textbox column. Strings are(string1, string2, string3, string4 & string5). So how I can put it in that datagrids 1 st textboxcolumn (in form load event ). Thanks, Vinay ya... Thanks...can u tell me ...how by default i can select 1st option of each ComboBoxColumn in the DatGridView on Form Load Event... Thanks once again... Vinay ...Show All
Visual Studio Express Editions Issue manipulating numeric values in textboxes
I am building a program which has many text boxes most of which are user inputs and a few which output results based on the user inputs However i noticed that I cant do something like this; textbox1.text = textbox2.text + textbox3.text because the resault will turn out to be "textbox2textbox3" This only happens when i try to add some values from textboxes but it seems that the other operators work fine doing it the same way The only way that ive found to get the "+" operator working like the others is to define a variable and assign it to the value in the textbox, like this; Dim value2 as Double = textbox2 Dim value3 as Double = textbox3 textbox1 = value2 + value3 but this way seems pr ...Show All
