TonyCapps's Q&A profile
SQL Server SQL Server Not An Option As a Data Source
I'm in VS 2005 trying to access a database running on MS Sql Server Express 2005 (local machine). In VS i choose Data | Connect to Database | and then i select change on the Add Connection Dialogue box. For some reason I'm only given two options which are the following: MS Access Database File or MS SQL Server Database file. I've seen options in books showing MS SQL Server but that doesn't show as one of my options. I'm running the Server express locally and can access it through my Management Studio Express as localmachine\sqlexpress. Is this a limitation of Express or do i need to adjust some options in the IDE Any help would be great. jeremy They really should mention this in the documentation. Five h ...Show All
Visual Basic How to create a dockable ToolBar type App. with Auto-Hide etc.
Hi, Anyone know of an online tutorial to create a dockable toolbar type application please Application to also have: 1) Always On Top option. 2) Is registered in the ToolBars dialog when you select the Windows TaskBar "ToolBars" option. 3) Has an Auto-Hide option. 4) Has a LOCK option. 5) The dockable option needs to dock with any side, top or bottom of the windows GUI in the same way the TASKBAR can be at the top, bottom or either side. A short simple example would be ideal please. I know it's a lot to ask, sorry . Regards, S_DS Hi http://msdn.microsoft.com/library/default.asp url=/library/en-us/shellcc/platform/shell/programmersgu ...Show All
Visual Basic property as combobox in VB.NET
Hello I'm trying to add property as combo box in my user control Everything works but i don't know where i could add items to this combo box or maybe i do it wrong way Any advices please <Browsable( True )> _ Public Property GrowLimit() As ComboBox Get End Get Set ( ByVal value As ComboBox) End Set End Property well i have created a user control and i need to expose property that would be available at design time. This property should contain values like: 100%, 150%, 200% So i need to created a dropdown list with these values in property grid i hope i maked it clear ...Show All
Visual C# Publish C# project and encounter errors!!
Hi all, I try to publish a project I have created in Visual C# and I encounter a error that said : Error 2 The type or namespace name 'General' could not be found (are you missing a using directive or an assembly reference ) C:\Documents and Settings\Administrator\Desktop\C#\GeneralSetup.cs 24 9 I have a .dll that I already include in the project via adding reference. It compile fine. Where do I have to put the .dll to let Visual C# Studio recognize my project and let me publish it. Thanks in advance! Jason Hi, Sorry I haven't check this for a while, if you haven't figure it out, here is what I done. First of all, put all you .dll in the debug/bin folder to start with because whenever you want to add reference to i ...Show All
Game Technologies: DirectX, XNA, XACT, etc. problem with "your first game: Microsoft XNA game studio express in 2d" tutorial
Hey, i just started using the xna game studio express beta 2 today and i decided to try out the tutorial. I thought i did everything correctly but when i debug it, it gives me an error for the line " spritebatch = new SpriteBatch (graphics.GraphicsDevice);" it says "InvalidOperationException was unhandled" and im not really sure what to do. any help with fixing this would be greatly appreciated, thanks. (Moving thread: XNA Build != XNA Game Studio Express) It's possible that you're getting this exception because your graphics card lacks shader model 2.0 capabilities. The checks are more stringent now in Beta 2. ...Show All
Visual C++ Is there any function to call javascript function which is in html file in vc built-in web browser application?
Is there any function to call javascript function which is in html file in vc built-in web browser application hope useful. http://www.codeguru.com/Cpp/I-N/ieprogram/article.php/c4399/ ;) ...Show All
Visual C# why my try/catch statement "loops"
hi! i have three succeeding try-catch-finally statements but it sort of "loops" when i run the program. this is basically the code.. . try { insert1.Connection.Open(); insert1.ExecuteNonQuery(); } catch ( OracleException ex) { MessageBox .Show(ex.ToString()); } finally { MessageBox .Show( "insert1 done!" ); insert1.Connection.Close(); } try { insert2Connection.Open(); insert2.ExecuteNonQuery(); } catch ( OracleException ex) { MessageBox .Show(ex.ToString()); } finally { MessageBox .Show( "insert2 done!" ); insert2.Connection.Close(); } try { insert3.Connection.Open(); insert3.ExecuteNo ...Show All
SQL Server working with decimals or real numbers
I have a number 8.30 how can I break apart the 2 parts of this for more simplicity I need to take out 8 and 30 in 2 different variables, how can I do it Please advice Dear What about if some numbers are written in different patterns like 8, .30,10.30, 00.0, .0 and so it will not solve the situation as if it is for example 8 the code will consider it a decimal Please advise a general code that can be run on different patterns Regars ...Show All
SQL Server dynamic table name in parameterized ole db source query?
hi everyone, joy mundy alluded in her webcast that it is possible to dynamically specify a table name in a parameterized ole db source query. is this true if so, how can it be done oh! I see my mistake. I just used what I have in my memory when I did the original post. Here is a copy from varible's expression: "Select "+ @[User::SQLExtractColumns] + " FROM " + @[User::TableName] + " WHERE " + @[User::PlatinumTimeStampFilter] + " BETWEEN '" + @[User::SQLExtractQueryBeginTime] +"' AND '" + @[User::SQLExtractQueryEndTime] + "'" Basically the the where cause comes from other variables from the parent packages. Regarding the fact of having more than one package; I h ...Show All
Game Technologies: DirectX, XNA, XACT, etc. XNA/GSE and Vista RTM
Is the final version of XNA/GSE slated to be supported on Vista when its released I found it in the official XNA FAQ on the main MSDN-hosted site Q: Which versions of Windows does XNA Game Studio Express support A: XNA Game Studio Express is currently limited to Windows XP SP2 only. Once Windows Vista is released, XNA Game Studio Express will be fully supported on that version of Windows. So I assume the Dec 11 release *should* have real support for the Vista RTM released to business/technet customers today, or at least the general-public release on Jan 30. ...Show All
Visual C++ About WM_TIMER message
hello, I have a peculiar problem with timers. I stater a timer in OnInitDialog and in timer callback function i displayed a message box. The timer message continued to come but couldn't continue with next instruction. After sometime stack overflow error came. here is some code snippet OnInitDialog() { ........ ............ SetTimer(0,100,0); } int x=0; OnTimer() { TRACE("X: %d \n", x); this-> MessageBox( "Hello" ); TRACE("AfterMsgBox X: %d", x++ ); } output: X: 0 X:0 X:0 ............ StackOverFlowError. So I even tried with AfxMessageBox the output was something different OnInitDialog() { ........ ............ SetTimer(0,100,0); } int x=0; OnTimer() { TRACE(&qu ...Show All
.NET Development How to insert line break <br /> in the XML text node
Hi, I am writing a paragraph in the XML node. e.g. <job Title = "Ex1", Desc = "Ex1" /> The Description node spans to multiple lines and I want to add line breaks at appropriate places. How can I do that Use < and > symbols instead of < and >. So it should be possible to write: <job Title = "Ex1", Desc = "Ex1<br>Ex2" /> And you will have Ex1<br>Ex2 in your code. ...Show All
SQL Server Cross tabs with Drill downs
Hi Guys I need to generate a report where I need to have drill downs in a matrix(cross tab query) in Business Intelligence. When I try to build a report using the report wizard, I can either select matrix or Drill downs and subtotals. Can I have both of these options Thanks Mita ...Show All
SQL Server Running Upgrade Advisor Against Production
Is it safe to run the Upgrade Advisor against production servers Thanks in advance! ...Show All
Visual Studio Express Editions C# Tutorials
Why are the C# tutorials on this page: http://msdn.microsoft.com/vstudio/express/visualCSharp/learning/ actually tutorials for Visual Basic. Here is more tutorial about newbie to C#: http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnaa/html/getstart_vcsharp.asp http://www.csharp-station.com/Tutorial.aspx http://csharpcomputing.com/Tutorials/TOC.htm ...Show All
