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

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

McKears

Member List

winprock
msksurfer
Barts007
irvendeep
Jon Stroh
maninkase
spattewar
AfCo
Rattlerr
Tryin2Bgood
brother martin
turczytj
Kevinmac
David I. McIntosh
Christian_B
Olaf van der Spek
TedWagner
eldiener
stlaural
Radith
Only Title

McKears's Q&A profile

  • Visual Studio 2008 (Pre-release) WCF Installation without internet connection

    Hi, Since i'm using Virtual PC i can not connect with Internet. So how to install WCF without internet connection Is complete installable available Rgs Vasu just download the windows SDK for the same and it will work for you regards Nishith Pathak http://dotnetpathak.blogspot.com ...Show All

  • Visual Studio 2008 (Pre-release) I hate June CTP

    While getting new releases of any software you may expect better experience. After Beta2 version of Windows SDK for Vista, former WinFX and Orcas beta 2 - I can see the situation which is not what I expected... First of all a lot of troubles with Windows SDK setup (which are now resolved) made me download DVD Image 3 times and finally I managed to get June SDK installed only using web-installer... And after all this what I really have I see that more than 50% of my projects I made with Beta2 don't work for a number of reasons: I get an error about mismatching version of PresentationCore.dll , I see that many things in the code are changed and I really dont understand why - for example I found this limitations for <Image Source ...Show All

  • Visual Basic datagrid click

    I use the following code to display record to datagrid. I set the datagrid only displaying one record which is Customer_Name only. But, how can i retrieve the primary key(Customer_ID) of the selected cell when the row is being click Dim rd As New OleDb.OleDbDataAdapter("SELECT Customer_ID, Customer_Name FROM Customer;", con) Dim tbl As New Data.DataTable rd.Fill(tbl) DataGrid1.DataSource = tbl Private Sub DataGrid1_click(ByVal sender As Object, ByVal e As System.EventArgs) Handles DataGrid1.Click "WHAT CODE SHOULD I WRITE HERE " End Sub Or any other way to do so to retrieve the primary key I am using Ms Visual Studio.NET 2003. I can only find datagrid in the toolbox ...Show All

  • Visual Studio Tools for Office Application object in Office 2007

    I use C# in Visual Studio 2005 to create a very simple "Hello World"-like add-on in MS Excel 2007. The add-on loads into a new tab on the Excel ribbon and works fine. But when I debug and put a breakpoint in the IDTExtensibility2.OnConnection method which fires when Excel opens, I expect to get access to the Excel application object from the application argument. However, the application argument is a COM-object. Doing the samen in MS Word 2007, I get access to the application object of type Microsoft.Office.Interop.Word.Applicationclass without problems. Is there any way I can access the Excel application object from my ribbon code Vegar Imsland Could someone tell me how to set this locale to & ...Show All

  • SQL Server Sending parameter to SQL script file

    To update customers’ databases I use the command “sqlcmd -S .\SQLEXPRESS -i DBUpdate.SQL” through an InstallShield Wizard. One of the SQL statements within the DBUpdate.SQL file is a BULK INSERT statement that loads data from a text file. The path for the text file is known only at the time of execution. Is it possible to send the path as a parameter to the script file (DBUpdate.SQL) If so, how I would appreciate any help. Please see the link below for more details on how to parameterize your SQL script. http://msdn2.microsoft.com/en-us/library/ms188714.aspx ...Show All

  • Windows Forms About Box

    Hi there, I want to add an About Box to my project, accessable from a MenuStrip via a "help" drop down. I have created the About Box, but I cant seem to integrate it. Ive tried a few different methods found in other threads, but I am always getting "Name form_load Is not declared"(thats just one example) for the methods that I have tried. VS 2005 in a VB Environment Any ideas thanks fred. Assuming your form is called frmAbout you would put this in your menu item's onclick event Dim AboutWindow as new frmAbout() frmAbout.ShowDialog() Hope this helps. ...Show All

  • Smart Device Development How TO Minimize a MFC Dialog Program When it is Start?

    I want to minimize my program when it starts,I add ShowWindow(SW_MINIMIZE); in OnInitialDialog,but later the Window Received Several WM_ACTIVE message,and Show out. What can I do Thanks. Hi, Can I know further information about the scenario that you are trying to handle If its appropriate you may consider using SW_HIDE since on devices windows should be full screen and there is not much gain from minimizing the window. Thanks ...Show All

  • Visual FoxPro System resolution

    Hi. How can I find out what the system resolution is, and how can I change it via FoxPro Thanks The "correct" solution is NOT to change your users screen resolution but to re-size your form. (What is a "formular" anyway ) VFP can detect the screen resolution - see SYSMETRIC() function - and you can have your form check the current resolution in its INIT() method and adjust itself to suit the user's set-up. There are plenty of free resizer classes available - just do a search on the internet and you will find some. Try a few and choose the one that suits your style best... Trust me, this is a much better solution than messing with your user's machine settings ...Show All

  • SQL Server Paging issue on conditionally set second table visibility

    Hi. I am having a problem with a 2005 report that has two tables and is designed thru visual studio. The second table is set to page break before printing and also to repeater headers on new pages. It works fine just like that. However, if I place a condition on the visibilty of the table based on an input report parameter it does not page break before rendering the table. In fact it does not page break at all leaving me with an extremely long last page. The visiblity parameter does properly toggle. This is all occurring when rendering the report to the screen using the windows reportviewer. When I export to PDF it looks fine. Any help would be great. Yeah, I would consider really hard changing that ...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

  • SQL Server SQL 2005 server seems to get slower and slower each night it runs

    I think it seems to be centered around the tempDB. Last Friday (3/17/2006) I took everything off the G: drive which is the TempDB MDF and LDF and all DB LDF's. I then placed the TempDB LDF back first on the drive then the TempDB MDF file back on the drive and the larger LDF's and then the smaller ones. So the G: drive is nice and clean, no fragmentation...I still have no fragmentation today. The server ran great on Friday night, great on Saturday night but slower as can be on Sunday night through right now ...Tuesday morning. But, only on some operations where the tempdb is hammered...everything else is fine. I check select * from tempdb . dbo . sysobjects where name like '#%' order by crdate desc an ...Show All

  • Visual Basic AutoScroll problem of FlowLayoutPanel

    Hi I find that if buttons are added to a FlowLayoutPanel, the AutoAcroll (via mouse wheel)works. But if the added controls are pictureBox, then the autoScroll does not work. Does anyone know why The code I used is: Dim panel As New FlowLayoutPanel Dim control As New PictureBox 'Button ' panel.Width = 300 panel.Height = 500 panel.Location = New Point(10, 10) panel.FlowDirection = FlowDirection.TopDown panel.AutoScroll = True panel.BackColor = Color.AliceBlue Me .Controls.Add(panel) control.Width = 200 control.Height = 1300 control.BackColor = Color.Blue panel.Controls.Add(control) Thanks. Hi Although new to VB 2005, I have als ...Show All

  • SQL Server ReportViewer control

    trying to build a test page with a single ReportViewer control < rsweb : ReportViewer ID ="ReportViewer1" ProcessingMode ="remote" runat ="server"> < ServerReport DisplayName ="VSTestReport" ReportPath ="MyReports/VSTestReport" ReportServerUrl ="http: //pugrs/reportserver"/> </ rsweb : ReportViewer >   build fails with 401: Unauthorized. Not even sure where to begin troubleshooting this one. Any ideas Thanks! Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Net.WebException: The request failed with HTTP ...Show All

  • Visual Studio Tools for Office property bag limitations

    Hi, I'm using a regular expression in my Word project and I'm using named groups in the regex. I know that VSTO creates a property bag to hold the key/value info corresponding to the named group. However, one of the named groups in my test document contains 550 characters (with spaces). In my regex editor, the entire expression is recognized with no problem but in VSTO the expression fails. I couldn't understand it until I started deleting some text from the suspect named group. When the text is down to around 450 characters then the entire expression is recognized in VSTO. Is there a limit on the amount of characters a property bag can contain If so, is this something that can be controlled How should I resolve this problem Tha ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. New XNA 3D tutorial

    Hi all -- I have ported the first series of my MDX tutorial site to XNA beta2 code. You can find the first entry of the tut at this location: http://www.riemers.net/eng/Tutorials/XNA/Csharp/Series1/Starting_a_project.php It's an introduction to 3D game programming using XNA. During the coming weeks I will be porting the code of the other 2 series, of which you can find screenshots at the homepage: http://www.riemers.net/index.php expandall=1 As soon as XNA is released completely, the whole site will be built around it. Comments are welcome riemer DJBurkey: Good luck with your univ project; that's exactly how and when I started my DirectX programming!! ProfEclipse: Excellent comment, hadn't thought ab ...Show All

©2008 Software Development Network