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

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

Dietz

Member List

Cactus77
strong_epoxy
TheMaj0r
Dottj
Rosetta
Mehdi Mahdloo
Sabrecat
R.Tutus
Jason Wilborn
Tom08
pramod_sp
LKeene
arkiboys
David J Oldfield
danny1999
nope25546
Jassim Rahma
jwhansen
mikecc
rofu
Only Title

Dietz's Q&A profile

  • SQL Server Query Date Stored as Text

    I am using Windows "Performance Logs and Alerts" to log performance statistics to a SQL database. In this case I am using a Counter Log, which creates the necessary tables upon startup of the log. I can see my data pouring into the database and now I am writing some T-SQL statements to query the data and display it on an aspx page. I have one particular problem that is presenting me with a bit of a challenge. I want to be able to query my captured performance counters based on date ranges entered on the aspx page. Unfortunately I am having trouble doing that because the "CounterDateTime" field where the date for each counter sample is stored is a char(24) data type instead of a datetime data type. I'm not sure why MS c ...Show All

  • Internet Explorer Development How to add IE 7 to my applications Form?

    Hi there, I want to add the Internet Explorer to my application. How do I do that I'm developing in C# using Visual Studio 5. Till now I managed to add a "Webbrowser"-Instance from the Toolbox but is this the orignial Internet Explorer I need it because the IEs object model is important for me. Thanks, harry Hi, Yes it is. The toolbar control is the WebBrowser Control (an activeX implementation of whatever version of IE is installed on your machine). You will have to version detect IE when you deploy your application to make sure that it is installed only on machines with IE7 installed. View your Object Browser in your VS project to inspect the methods and properties of the control. Regards. ...Show All

  • Visual Studio Cant find the WMP/VLC ActiveX control in the toolbox

    I have tried to load the dll- files for both windows media player and VLC ActiveX control but the only thing I get is an unuseable grey icon for the wmp/vlc- control. Are there any steps that i have forgot I use Visual Studio 2005 and have C# as default language and devoloping in asp.net. I have the latest windows media player version downloaded and installet wmp SDK 10 as well. please help! ...Show All

  • Visual Studio Team System Documentation, Step-by-Step Instructions, Guidance documents

    I was just wondering where can I find more documentation, Step-by-Step Instructions, Guidance documents   I found the help file. Juergen Lorenz wrote: I was just wondering where can I find more documentation, Step-by-Step Instructions, Guidance documents I found the help file. Try here: http://msdn2.microsoft.com/en-us/library/aa833253.aspx -Jamie ...Show All

  • Visual C# Microsoft.ApplicationBlcoks.Updater where can i find???

    I am using C# and I am having problems adding references to my Microsoft.ApplicationBlocks.ApplicationUpdater and a few others is there some where i can download them...It seems that it did not come with the Enterprise Library 2005 for .net 1.1...can any help me out with that The 1.0 version of the Updater AB is at: http://www.microsoft.com/downloads/details.aspx FamilyId=C6C17F3A-D957-4B17-9B97-296FB4927C30&displaylang=en You can find everything related to Application Blocks by browsing to the "patterns and practices" section from the MSDN Home Page. ...Show All

  • Visual C++ update with CommandBuilder - VS2003

    Updating without CommandBuilder Im trying to work with Visual C++ without using the commandBuilder without any luck at the moment, my selections are working fine, and all data is appearing in a dataGrid and is also bound to a TextBox. At the moment im trying to modify the data in the dataGrid and then use Button2 to Update the database. I have set the parameters the best i can at the moment, but what is happening is that i modify the data and press Button2(update button) and the tables appear to be correct, but when i close and re-run the application i lose all modified data. Can anyone point me in the right direction with this one... i have included the Button2 source... private : System::Void button2_Click( ...Show All

  • Visual Studio 2008 (Pre-release) Custom Styleing based on data items

    What I want to do is have the color of some of the items change based on the value in the data file.If the value is positive I want one style if it is negative I want the other style. ANy ideas Here is my code so far. <Window x:Class="INVWatch.Window2" xmlns=" http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x=" http://schemas.microsoft.com/winfx/2006/xaml " Title="INVTrack" Height="483" Width="792"> <Window.Resources> <Style x:Key="quantityUp" TargetType="{x:Type Grid}"> <Setter Property="Background" Value="Green"/> </Style> <Style x:Key="QuantityDown" TargetType="{x ...Show All

  • Visual Studio Express Editions Standard formatting buttons for rich text formatting?

    Is there a standard toolbar to format text in a rich text box Standard stuff like Bold, Italic, Underline, align, font and size Basically I want to be able to highlight some text in the rich textbox and apply the format as in Word. Thnx Many thnx! Got it to work fine...but a lot of work listing all the installed fonts. Might be nice to have a snippet or something with all this code in it. If anyone wants it, just ask. ...Show All

  • Visual C++ error LNK2019: unresolved external symbol

    I am using visual studio 2005 express edition and am having trouble linking a tutorial code from a book that I use. I have directx SDK(August 2006) installed with the Microsoft platform SDK. All the lib files are linked properly and I have followed the step to enable win32 applications in visual studio 2005 express. However when I build the code I get 2 LNK2019 errors 1>D3DInit.obj : error LNK2019: unresolved external symbol "int __cdecl d3d::EnterMsgLoop(bool (__cdecl*)(float))" ( EnterMsgLoop@d3d@@YAHP6A_NM@Z@Z ) referenced in function _WinMain@16 1>D3DInit.obj : error LNK2019: unresolved external symbol "bool __cdecl d3d::InitD3D(struct HINSTANCE__ *,int,int,bool,enum _D3DDEVTYPE,struct IDirect3DDevice9 * *)& ...Show All

  • SQL Server SMO and compact edition

    I am trying to make a simple example like sql management studio but stuck in the get table names part :) in first step. are there any easy way to get just table names from sdf file I have tried to use SMO but no success. Regards. ...Show All

  • Visual Basic Running a batch file

    Is there a special way of running a batch file I have tried process.start but it is not working. The batch file works when I double click it but not when I try to run it through my program. Thank you, Troy L Code: Process.Start(Temp & "\unzip.bat") Temp is the temp directory on my system. Contents of the batch file: 7z e file.zip -y The executable 7z.exe is in the same folder as well as the file 'file.zip'. When I try it through my program the command window for 7z.exe shows up but exits immediately. When I run the file itself outside my program the command window shows, executes the command, then closes like it is supposed to. I have no idea what I am doing wrong. Edit: I am basically trying to decompress a standard zip file. Is ...Show All

  • Visual C++ Can you share global variables between a DLL and a calling program?

    Can you share global variables between a DLL and a calling program If so I would appreciate any tips. I tried putting the global variables in the DLL but it crashed when the VB porgram tried to call it. So you can see what I did, I posted the following code. It compiles with those decorations commented out, but the computer generates an access error when the VB calling program tries to call the dll. // d.cpp : Defines the entry point for the DLL application.\par #include "stdafx.h" #include "stdio.h" #include"math.h" #include"string.h" #include"windows.h" #include"string.h" /*extern "C" __declspec(dllexport) */char *filepath2; /*extern "C" __ ...Show All

  • SQL Server PDF underline goes away

    Hi, I'm having a problem with my pdf files removing underlines from textboxes. I've tried it with both field text boxes and hard coded textboxes I draged from the toolbar. What happens is this; If I underline text in the textboxes, it shows up on the visual studio preview window, the report manager window, but when I export the file as pdf format the underlines go away in the pdf document. The problem seems to be centered around the "can decrease to accomidate content" property (which I need to do, doh). If I turn this property off, the underlines show up again. Is it just me :(, or is this a know problem. - Bruce ...Show All

  • Visual Studio 2008 (Pre-release) Cannot insert a subclass if it is really stored in a table associated with its parent

    Hi, I have been enjoying the incredible advances visible in the LINQ May 2006 CTP. I have followed the instructions in the DLink Designer Doc, creating a table Person with a type (discriminator) column for polymorphism. This table is to store not only persons but also employees, which have an additional property for Managers which of course is really a column of the Person table. The problem appears when I want to insert an Employee. I have created a form with the following partial code: ------------------------ NorthwindDataContext dc = new NorthwindDataContext(); BindingList<Employee> persons; private void Form1_Load(object sender, EventArgs e) { var results = from emp in dc.Persons ...Show All

  • Windows Forms Totals of rows and columns

    I'm working with .net 2.0. I've been searching how to get a total on a gridview on the rows but also on the columns. A row total has something to do with the virtual-state of a gridview, I guess. Has anyone usefull information on these topics Next time i ask a question, i will do it in a better way. Your answer was not exactly the answer to my question, but it's usefull anyway! Thanks Whay i really wanted was a column with totals. I added a new column to my DataTable and filled in the expression.with: "quantity * price". Like this i could use the dataTable and the binding source to bind it to a datagrid. For the "Grand Total" i found the post http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=503219&SiteID ...Show All

©2008 Software Development Network