omarmhd's Q&A profile
Visual Studio Team System REGARDING INFORMATION
Hi, Please provide me the infromation regarding the Authorised Training Center to study the Microsoft certified Technology Specialist (MCTS) in Kancheepuram/chennai/pondycherry (India) along with the Fee structure and time duration. Regards Jameel Moidheen Administrator Dubai ...Show All
SQL Server OpenXML Identity Insert
I am inserting data into a table using the OpenXML command (see query below). The table that I am inserting it into has an identity column named SOFTWARE_UID. I need to return an xmldoc with the identifier included for each row inserted. Does anyone have a clue how I can do that efficiently I know I can do it with a cursor, but if that were the case, then why not just do x inserts with an @@identity call I am looking to do this in an efficient way, preferebly with an out of box function (such as @@identities). Declare @XMLString varchar ( max ) Set @XMLString = '<IT_SOFTWARE> <SOFT name="Soft1" status="1"/> <SOFT name="Soft2" status="1"/> <SOFT name=&q ...Show All
Visual Studio Express Editions another variables in seperate forms question
ive got another 2 question about this "variables in seperate forms" ive already got some variables working across 3 forms (setup,game,endgame) but some are not working 1. this section was added to form game just after declorations just like with setup form Public Property gscore() As Integer Get Return Me .score End Get Set ( ByVal value As Integer ) Me .score = value End Set End Property then this to endgame Label1.Text = setup.name Label2.Text = Game.gscore when run label2 always shows 0 but label1 shows the name correctly despite game form shows 200 or whatever what have i missed 2. i put a bonus round in that "should" reset most variables other ...Show All
Visual C# regarding https (secure connection)
i want only login page in my application to be secured and the rest of the page in normal ( through http). Problem is when i am redirecting from https ( from login page) to http ( default page ), i lost authentication ticket at that time. I am using form authenticatio in application. https://localhost/c_socio/login.aspx through formsauthenication.redirectformloginpage(session("Username"),false) http://localhost/c_socio/default.aspx Are you using a Certificate Authority or are you implementing the Certificate Server and Active Directory ...Show All
Visual Basic formula formulation. problems with con
The following line does not run for some reason and I tried it in several fashions and they all don't run. Dim part As String part = "picture" Range("A1").Select ActiveCell.Value = "c:\directory\" ActiveCell.FormulaR1C1 = "=HYPERLINK(R1C1" & part & "".jpg"", ""Click here for a Picture"")" This does not work. And the following also does not work: ActiveCell.FormulaR1C1 = "=HYPERLINK(R1C1" & part & """.jpg"", ""Click here for a Picture"")" or ActiveCell.FormulaR1C1 = "=HYPERLINK(R1C1" & part & ".jpg" & ", "" ...Show All
Visual Studio 2008 (Pre-release) ListBox/ItemsControl DataTemplate issue
I have a ListBox with a DataTemplate as follows: < ListBox x:Name = " procList " ItemsSource = " {Binding} " > < ListBox.ItemTemplate > < DataTemplate > < TextBlock Margin = " 10 " Text = " {Binding Path=Identifier} " /> </ DataTemplate > </ ListBox.ItemTemplate > </ ListBox > This works fine, i.e. the DataTemplate is applied to my items as expected. However, if I use an ItemsControl instead of the ListBox, i.e.: < ItemsControl x:Name = " procList " ItemsSource = " {Binding} " > < ItemsControl.ItemTemplate > < DataTemplate > < TextBlock Margin = " 10 " Te ...Show All
Visual Basic [OTP] Debugger Implementation
How can I implement Debugging operation in VB 6.0 for my own Editor window.The codings are required I need to use facilities like watch breakpoints,variable information window This forum is not for VB6 questions. Please read the following post: For Visula Basic 6 Questions, Please Read... http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=551512&SiteID=1 ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Game and GameComponent Feedback
We've been combing the forums and the Connect database for bugs, feedback and suggestions around the application model. We still have a small amount of time to consider any other feedback you may have. So this is the thread that you post your latest likes or dislikes with Game, GameComponent, services, etc. Please scan the other threads before posting here, I'd like to just gather things that haven't already been discussed or reported elsewhere. Thanks! I think Serapth state a very important concern about components, as they need a way to state their dependencies. I had a suggestion up on connect that the xna team should remove the Game property from GameComponent class, and advice developers to inject dependencies explicitly ...Show All
SQL Server Inserting in a table with index...?
In the table that i will insert rows, there are columns: Col1 Col2 Col3 Col4 Col5 an there's an index for (Col2,Col3,Col4) So, Col1 Col2 Col3 Col4 Col5 ---------- ------------------- ------------- ---------- ----------------- 0 30082006 'TERM1' 1 7 1 30082006 'TERM1' 1 7 this is not allowed because of the index for (Col2,Col3,Col4).Col4 must be different from 1. I can see only one way to insert into this table.. SELECT @max_col4= max(Col4) FROM TABLEXXX WHERE Col2=30082006 AND Col3='TERM1' INSERT INTO TABLEA(Col2,Col3,Col4,Col5) VALUES (30082006,'TERM1',(@max_col4+1),7) this is right wi ...Show All
SQL Server PMML: One node in a decision tree containing two states of an attribute as the rule for splitting?
Hi, is there a way to import a decision tree-model from pmml where a node contains two or more states of an attribute as the split-rule Example: ... <Node recordCount="600"> <CompoundPredicate booleanOperator="or"> <SimplePredicate field="color" operator="equal" value="red" /> <SimplePredicate field="color" operator="equal" value="green" /> </CompoundPredicate> <ScoreDistribution value="true" recordCount="200"/> <ScoreDistribution value="false" recordCount="400"/> </Node> ... This node shoud contain all cases, whose color is red or green (The Microso ...Show All
.NET Development Database insert problem
Hi! I'm attempting to insert records from a tab-delimited text file into a database. I can successfully parse the text file and get the data into a datatable. I verified this by binding the datatable to a gridview - I can see all the rows. My problem is when I try to insert those records into a SQL 2005 table. The error I get is: System.ArgumentException: Input array is longer than the number of columns in this table. My database has 36 columns. When I generate the datatable, I leave out the primary key column because such a column doesn't exist in the text file. Obviously, I'll need a primary key in the database. My goal is to insert the data via stored procedure. Does my stored procedure have to have a parameter for the primar ...Show All
Visual Studio ZipItem and ZipProject, Zip project contents at build time
I'm attempting to zip some contents of a project in order to create a Project Template (I've already created the template, I wish to rebuild it with each build). How can I use ZipItem and ZipProject, I cannot find documentation on their usage I've been looking at an IronPython example which generates Zip files using VSProject content with <Import Project="C:\Program Files\Visual Studio 2005 SDK\2006.07\VisualStudioIntegration\Tools\Build\Microsoft.VsSDK.targets" /> .... <ItemGroup> <ZipItem Include="Templates\ProjectItems\Entity\Entity.gmf" /> <ZipItem Include="Templates\ProjectItems\Entity\__TemplateIcon.ico" /> <ZipItem Include="Templates\ProjectItems\Entity\MyTempla ...Show All
Visual Studio 2008 (Pre-release) How to return a List<T> using WCF
I have an application that reads lots of small blocks of records from a data store primarily to supply the application's numerous lists (drop-down etc.) I have been returning DataSets using web services in .NET 2. Now I would like to implement the same functionallity in WCF. I have already got methods that return DataSets in WCF that duplicate the functionallity. However it occurs to me that I could make a list of the rows represented as class objects and return a list instead. The idea being that the server is doing some of the work for me and that I could more easily port a web version of the service if the result is in List<T> form from the service. At this point I take a DataSet and create the List<T> at the client which ...Show All
Visual Basic Designer no longer linked to form
Hi, This problem occurs using Visual Basic in VS2005 I'm sorry if this problem could be easily solved, but I'm afraid to mess with the forms until I know what's wrong. Anyway, what has happened is that, I did a lot of visual design of a form in the Designer, did some more work for a week or two, and then decided to move a few forms (including this one) into their own folders, as some forms with a lot of User Controls were making finding individual components difficult. So I moved this form into its own directory, but its .resx and .designer.vb forms didn't move with it. Now, the form still runs fine, but I can no longer edit it in the Designer; All I get is the standard 150 x 150 grey square. I'm guessing that the link be ...Show All
Visual C# Not sure where this should be but sort of a Math question
Using Trig in a C# program or other (I mention C# because it is what I usually use now) I see strange results on what I try to do. (I would assume (sure) it is me) BUT I had this thought in my little old brain. The way I see it, Trig. is based on a true circle. However when I make a picturebox, panel or other it is always some a square or rectangle with my bitmap or Draw object within it. (Does Microsoft have a true circle Control ) If I want a theta, I 'think' it is sort of based on the mouse/joystick input from the picturebox/panel/whatever which is a square/rectangle.. Ont << As in NOT the Circle I drew within it What am I missing I'm lost. As far as Iknow, you cannot have a true circle control. The algorit ...Show All
