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

Software Development Network >> Joel Martinez's Q&A profile

Joel Martinez

Member List

IamHuM
Jackuline
Thomas.Goddard
RayClark096
czulli
arkiboys
ClaudiaHelpOnVSTO
Bandile
bxchan
Nfrf
MHGameWork
EternalStudent
Alessandro Camargo
FranklinBAH
B Langston
polska2180
giddy
Eng. Habeeli
Allen ohimain
DCosta
Only Title

Joel Martinez's Q&A profile

  • Visual Basic accessing a thread's (or process's) % CPU usage

    anyone know how to access a thread's (or process's) % CPU usage i know the the process class can give me the CPU time for a process as a timespan type. but i am only looking to access CPU % for my item in the process list.   thanks   I am trying to do so aswell but have no success. Debugger keeps telling me System.InvalidOperationException was unhandled Message="Instance 'MyApp' does not exist in the specified Category." Source="System" My Code: Myprocess = Process.Start(getmyexe.FileName, StartupParameters.Text) theCPUCounter = New PerformanceCounter( "Processor" , "% Processor Time" , Myprocess.ProcessName) CPUbar.Value = theCPUCounter ...Show All

  • Visual C++ Asynchronous Sockets in C++?

    Hello, I want to use asynchronous sockets in pure C++. Is there anyone to tell me how to do it or at least show me a basic example The external libraries are appreciated too. Thanks... Simple Samples wrote: Are you implying that the Windows API for Sockets should be avoided since it is written in C As far as I know, most of Windows was written in C and a large part probably is still in C. If it is, should we not use Windows Not at all. It was a simple remark, that you can write pure C programs with the Win API. What I wanted the convey is that there are several options, not just that two (I didn't say anything about the .NET framework). And in my opinion, is simpler t ...Show All

  • Smart Device Development Is way to Override the Disabled appearance of ListView Control

    Hi all, is it possible for me to override the appearance of the ListView Control when its enabled property is set to False (disabled) I guess I need to change the colour as when the ListView Control is disabled, its very hard to actually see what value is selected if there are only two entries in the ListView. Thanks I do not even want to select an item from the disabled ListView. What I am asking to see if I can override the backcolour of the ListView when it is in the Disabled state because at the moment in my application when the control is disable and there are two items in the ListView (one of which is selected) and its disabled (I select an item in the ListView then disable it) it is very hard to actually see what the selected ...Show All

  • SharePoint Products and Technologies WSS 3.0. Should I upgrade?

    Hi, We have got WSS 2.0 installed with TFS v1 installation. Ever since we are using this system for our document library and collaboration. While using the system we discovered many issues in WSS 2.0 that can cause data loss. Given below are two main issues: 1) If a user (intentionally/unintentionally) deletes a document in WSS 2.0, all its versions get deleted with no option to recover. 2) It allows a second user to checkin document that is checked out by first user. That too without first user's knowledge. Now that WSS 3.0 is out, I'm wondering if it makes any sense to upgrade Does it solve issues like above Cheers! D2 Just FYI for others that may run across this - TFS v1 depends on WSS 2 specifically - ...Show All

  • Visual Studio Express Editions Simple password comparison vs. Access

    Hi guys, I have a very simple question for you but that i can't seem to figure out how to do it. I need to compare a value that a user enters on a textbox in a form vs. a value from a database. I'm creating both from scratch but i'm not sure how to pass values and compare to a database item. For example: Form1.aspx txtUser: Admin txtPW: 1234 ---------------- *********** ---------------- db1.mdb / Table: Users User:Admin PW: 1234 Level: Admin Addres: Here Department: Computers It DOESN'T need to be super secure nor encrypted since i'm just doing something simple. I searched all over here but all the answers are way beyond of what i need to do here. Any help or ...Show All

  • Visual Studio 2008 (Pre-release) WSE 3.0 CLIENT + WSE STS + WCF SERVICE

    Hi, I am want to connect wse client with wcf service and to use Saml token for authentication. I had no problem to connect wse client and wcf service with mutual certificate security, but now I need to switch mutualcertificate with samltoken security. Can somene help me with this Thanks, Indigo Cowboy The slides at http://wcf.netfx3.com/files/folders/teched_2006_chalk_talks/entry3745.aspx describe how to configure a service to use issued tokens. I hope they help. One common mistake is to not configure the STS signing certificate at the service. Pedro Felix ...Show All

  • Windows Forms Automatically Wrap Text in Label

    I have the following scenario: I have a TableLayoutPanel in my form. In one of the cells I want to place a Label control to display some text. The label might have just a few words. It might have a paragraph. I would like the label text to automatically wrap inside the cell in the TableLayoutPanel. If the row in the TLP is not large enough, it should automatically grow so that it can display all of the text. 1) I have tried setting Dock:Fill and AutoSize:False on the label. This will cause the text in the label to wrap, but it will not grow past the size of the cell in the TLP. If I set the row in the TLP to be AutoSize, the whole row becomes hidden. 2) If I set it to Dock:Top, AutoSize:False, and set the TLP row to AutoSize, this works, ...Show All

  • Windows Forms shrinking menu width when rendermode = system

    If you set the rendermode for a menu to anything but system you get the blue vertical strip on the left side running from the top to the bottom. If you set the rendermode to system, it disappears but you still have the entire width where the strip was on the menu. How do you get rid of this margin I don't want the strip but without it it makes the menu too wide and ugly. Well that's not really an option. I need it to disappear. This wasn't the case with VS 2003. I don't know why they had to change it. ...Show All

  • SQL Server Problems Creating Report

    Hi, I have only recently started playing around with Reporting Services (2005), and I am having some problems creating a basic report. What I want to display is a table which shows product names in the first column, sales for a specific period this year in the second column, and sales for the same period last year in the third column. The 'specific period' is determined by specifying a start week and an end week which I have set up as parameters. I have managed to produce the first 2 column with no trouble. However, for the third column I need to subtract 52 weeks from the parameters and use them as new parameter in the third column. Can anyone offer any suggestions Dave Some options: ...Show All

  • Visual Studio Team System VS Team System needed??

    Hello, I work in a small shop with 2 true developers and 1 "DBA" person and soon adding another developer. I've looked at the VSTS briefly and it looked like something for a large shop of developers. My question is(kind of basic) for a shop of 2/4 developers would the VSTS be worth getting See my reply to the nearly identical question in this thread: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=772766&SiteID=1 ...Show All

  • Visual C# FxCop is great, but is there a recommended tool for automating reviews of source code for style etc?

    Hi, I use FxCop in my development environment and think it's great. But it works on the IL, so I was wondering if there was a tool that anyone could recommend that enforces rules on source code For example: Comments Style of braces White space ... Thanks in advance, Conor Internally to Microsoft is a tool named StyleCop which does just this. It works very well and integrates neatly into Visual Studio, but for some reason it isn't public and there don't appear to be any plans to make it so. ...Show All

  • Visual Basic VS2005 managed WebBrowser opening Office docs

    Hi All, I am using the new managed WebBrowser control (within VS2005) to display locally stored office documents (see code below). But when I navigate to the document I always get the 'File Download' dialog box. If (htmlFileName.Text.ToLower.EndsWith("doc")) _ Or (htmlFileName.Text.ToLower.EndsWith("ppt")) _ Or (htmlFileName.Text.ToLower.EndsWith("xls")) _ Then With webBrowser1 .Visible = True .ScriptErrorsSuppressed = True .Navigate(htmlFileName.Text, False) End With End If Is there anyway to suppress the display of this dialog box without having to change any internet explorer options Thanks In Advance George ...Show All

  • .NET Development Execute a sql script using vb.net

    Hi folks... In the past, I have broken the sql script down into single batches, then executed each batch in turn using the ExecuteNonQuery method. Is there anyway to actually execute a sql script directly Does a method exist where we can just pass it the location of the sql script and let it do the rest Cheers Mark you can place this command in the SqlCommand() constructor or set the SqlCommand.CommandText property to the command which SQL Server will accept. example attaching a database in SQL Server can be done using the SqlCommand() if you give it the correct syntax and so on. ...Show All

  • Visual Studio Team System Test coverage analysis report viewing

    Hello, I've developed some tests for my solution, and in test configuration I've anable code coverage analisys. Then I've created build, that performing this tests. When I'm trying to open test result (*.trx) file from published directory I'm cann't see test coverage analisys report, cause error "Cannot find any raw coverage data (.coverage) files. Check test run details for possible errors.", but when I'm trying to open test results from build directory on build machine there is no errors, and all right. I've notice, that Team Build renaming directory with data.coverage file while copiyng to publish folder. I've rename this folder back and error disappeared. But if I'll run build again I'll have the same problem. Does t ...Show All

  • Smart Device Development How to deploy evb 3.0 application on device powered by WinCE 5.0

    Hi, I have old applications developed using EVB 3.0 and they are running fine on my old device powered WinCE 3.0. Now we are using new device which are powered by WinCE 5.0 OS where evb application are not running. I know microsoft has provided evb runtime for Windows Mobile 5.0 platform. And using which old application developed in evb 3.0 on PPC 2002/2003 can run on new device with WM 5.0 platform. But I could not found any runtime available for WinCE 5.0. I will appreciated If anybody can help me in this matter. Regards, Naynesh ...Show All

©2008 Software Development Network