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

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

mickyjtwin

Member List

ctroyp
SolidStrategies
Citrus
Virgoss
Thomas Frohberg
AdriM
Bruce Bukovics
SGI101
Reid Westburg
kemal
Khin
PerseP
Nathan Sokalski
NReddy
Beski
The Samster
ChasAA
Marek Istvanek
Christie Myburgh
Serapth
Only Title

mickyjtwin's Q&A profile

  • Windows Forms CPU usage

    Hi, I am looking for a simple way to diaplay CPU usage and (if possible) memory usage on a windows form. Cameron. I'm sorry, with 'crash' i want say that raise a exeption. If i run the app in Debug mode INTO the IDE, throw a InvalidOperationException "Instance 'MyApp' does not exist in the specified Category.". If i run the app from 'Debug/MyApp.exe' works ok, and if run the app from 'Release/MyApp.exe' runs ok too. Thanks, i will catch the exeption but ... how to do that runs always In VB there was a App.Name or something.... Regards. ...Show All

  • Windows Forms Crystal report logon failed

    Hi, Please someone help to cross this hurdle... I am designing my crystal reoprt using an xml file as datasource. All the fields are created using the drag/drop facility. On the runtime, i wil create an dataset based on search criteria and create the xml file (usig dset.writexml and rpt.setDatasource(dset.Tables(0) method) . The report contains multple pages, hence drill down is added on report-viewer. The paging and serching works in the machine where i have created the executable. The problem arises when I am trying to deploy in client machine (the deployment is done using the key provided). I am able to generate report successfully in client machine. But the drill down shows 'Logon Failed' error. Also the a window will prompt ...Show All

  • Visual C++ Creating a library

    In VS2005, I would like to create a C++/CLI library, such that, it could be reused by other C++/CLI projects. 1. Do I create the library as a ".lib" file If not, what are my options 2. Is it possible to share that library to a VB.NET (in VS2005) project If so, what type of output file should I be creating Yes, C++/CLI class library can contain native C++ classes. But they cannot be accessed directly by other .NET projects. You need to write C++/CLI wrapper classes for this. ...Show All

  • SQL Server Need help updating a table with data from an OPENQUERY statement.

    If some could show me the syntax for updating a table in my database with information in a linked table. the table I want to update is called WorkList and I want to create an inner join query to a linked table called public.FISCAL. This is all I have so far to create the join and try to do the update... Select * FROM OPENQUERY(SCH,'SELECT [Account_ID], [I_PLAN] FROM [public.FISCAL]') AS A INNER JOIN WorkList AS B ON A.Account_ID = B.[ACCOUNT#] update WorkList set [I-Plan] = A.[I_PLAN] from Worklist B inner join A on Account_ID = B.[ACCOUNT#] Thanks you got it, I had to change two things from yours to get it to work correctly. Thanks SELECT * FROM OPENQUERY(SCH,'SELECT [Account_ID], [I_PLAN] FROM [public.FISCAL]') AS A INN ...Show All

  • Visual C# Need help in dropdownlist

    hi, i have a dropdownlist which my item in the dropdownlist keep on repeating. So when i select my supplier from the supplier drop down list, the product in another dropdownlist will change. so it keep on merging the item. How do i clear off the item in my dropdownlist when the the page is load everytime. protected void Page_Load( object sender, EventArgs e) { if (!Page.IsPostBack) { ddlProdName.Items.Add( "Select product" ); ddlProdName.Items.Add( "Pen - red" ); ddlProdName.Items.Add( "Pen - blue" ); ddlProdName.Items.Add( "Pen - black" ); ddlSupplier.Items.Add( "Kinokuniya" ); ddlSupplier.Items.Add( "Borders" ); } ...Show All

  • Visual C# How to handle HTML tag info in control?

    I tried to use Server.HtmlEncode to solve this problem, but to find it still doesn't work. temp=Server.HtmlEncode(content.Text); Some people rendered HTML tag to attack website, some others did this for normal purpose. For those different clients, how to solve this problem   Did i make it clear Thank you for your help in advance!   ...Show All

  • Visual Studio 2008 (Pre-release) Rotated images cutoff

    Hi, I have an application where I drag images and rotate them while dragging. When I drag the image to the top left or bottom right corner of the window I get a weird cutoff of my image. It only occurs if it has a DropShadowBitmapEffect. Below is a loose xaml sample that demonstrates the effect. What am I doing wrong Paul. <Window x:Class="TestClipping.Window1" xmlns=" http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x=" http://schemas.microsoft.com/winfx/2006/xaml " Title="TestClipping" Height="300" Width="300" Loaded="OnLoaded" > <Canvas ClipToBounds="False" > <Image Name="image" Source="4. ...Show All

  • SQL Server Performance issue

    I have a server that has a performance issues all of a sudden, when I run sp_who2 I only notice that the log writer and check point are in a suspended status. I am not sure what this means. I have done couple of restarts and they are still in suspended status and still have the same performance issues. Can anyone help me to figure out this issue. Emad They are almost perpetually going to be in a suspended status. What this means is that the process is running, it just isn't currently executing anything on the SPID when you look at it. This is normal operations for the log writer and checkpoint processes. (In previous version, it showed up as sleeping although this wasn't exactly accurate.) ...Show All

  • .NET Development Calling Winform with UserControls from VB6 via Com

    We have some businessclasses and usercontrols (written in C#)in a dll, which are used from a .Net Winformclient. Our old VB6 client should be able to invoke also these usercontrols and so we implemented a comwrapperclass, which starts a Winform (same dll as comwrapperclass) and our usercontrols (other dll). All works fine, but sometimes we receive this errormessage " Exception has been thrown by the target of an invocation "! Our usercontrols are localized and I suspect the ressourcemanager can't find the right ressource. Has anyone an idee to resolve this problem No idea, something to do with satellite resource only assemblies We Americans tend to skip that kinda stuff (I'm Dutch actually, j ...Show All

  • Visual Studio Tools for Office windows application to contain ms word 2007/2003

    is there a way to make a windows application to contain ms word in it this included class and namespace made available to the application that contain ms word I'm not sure I understand what you're asking... If you mean, can Office be re-distributed with an application you program using .NET then the answer is definitely, unequivocably NO. There is no redistributable version of any Office application, with the exception of the Access Developer Extensions which will let you re-distribute an Access interface you program. ...Show All

  • Silverlight (formerly WPF/E) SVG vs WPF/E

    What does WPF/E mean for support of native SVG documents in future versions of Internet Explorer Is WPF/E the sole Microsoft implementation of Scalable Vector Graphics, or can we expect IE to support SVG like Firefox 2.0 "WPF/E" is part of Microsoft web platform strory. SVG is a community effort external to that. We will make sure "WPF/E" is compatible with all the relevant browsers for its customers (in the Dec 2006 CTP we support IE, Firefox and Safari on Windows and on Mac). We will also make sure "WPF/E" is compatible with standard web applicaiton practices. Barak ...Show All

  • SQL Server How to define a parameter to show the true values for any of 35 different products?

    My boss database is in a way that customers might have baught any of the 35 products of the company. Say if they have bought product# 16, and 27, these two values are true for that customer and the rest are false (the table has 36 columns: 35 for products and 1 for customer ID). How can I show if a customer has bought anything at all (some of them has not bought anything), and if so which numbers as a parameter I mean I want to have a parameter that user defines to see the result for customers who have number 10, 17 as true or number 6 as false I probably need two parameters, one for true and false and one for the number. Although I think if I have just one parameter, that might work too. Let's say the user checks numbers 5,9, and 14 a ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. question about positions

    hello all. i am working on a little 2D game. I am working with a background and a foreground.. for th ebackground i use the following stuff: private void DrawHintergrund( SpriteBatch Batch) { for ( int y = 0; y < SichtbarY; y++) { for ( int x = 0; x < SichtbarX; x++) { Hintergrund.Draw(t2dTiles[Map[y + PosMapY, x + PosMapX]], new Rectangle (((x * TileWidth)) - PosAufKarteX, (y * TileHeight) - PosAufKarteY, TileWidth, TileHeight), Color .White); } } } for the foreground i use this.. private void DrawVordergrund( SpriteBatch Batch) { Vordergrund.Draw(Panzer1, Panzer1ScreenPos, null , Color .White, RotationAngle, Panzer1Mitte, 1.0 ...Show All

  • Visual Studio Express Editions Some controls in the toolbox are disabled

    Hi, I have developed some WinForms Controls for my apps, which I have also added to the toolbox in Visual C# Express 2005. In the first days it works great: I can drag&drop my controls on my forms. But now all of my controls are disabled and grey for some reason. I am still using WinForms, I am still using the same project or a new project, but I can't use my control any longer. I know there are several controls disabled, which are not usable on WinForms (like ASP.NET controls). But why are my own WinForms controls disabled Is this a bug or did I something wrong Thanks Jorg I have my DLL on two machines installed. On both machines is the behaviour the same: All of my con ...Show All

  • .NET Development How to notify changes in a DB table to a C# 2.0

    Hi everybody We are developing a application in C# 2.0 with M.Sql Server 2005. The application will run in multiple PC's linked by a INTRANET with a big bandwidth. In the application there are DataGridViews showing registers from a table and we want when a user create a new register in the table of the data base, all the DataGridView where the table is showing in all PC's of the net, refresh the grid in order of the new row appears. We are looking for any kind of trigger of the DB that notiffy to the app. when a new register was created, any configurable message of the database or any funcionality like this. Any Ideas Could you help us Thanks in advance. Are you using SQL Server 2005 or the Express edition ...Show All

©2008 Software Development Network