Software Development Network Logo
  • VS Express Editions
  • Visual Basic
  • SQL Server
  • Game Technologies
  • Architecture
  • Smart Device
  • Visual C++
  • .NET Development
  • VS Team System
  • Windows Forms
  • Visual J#
  • Microsoft ISV
  • Windows Live
  • Windows Vista
  • Visual FoxPro

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

TechGuyMark

Member List

12345x123456
Patrick Hampton
Chris H.
ajay_verma
omron
ehartwell_mtm
jnouel
PjV
gzitek
Floax
_Andrew
jmiller76
socalmp
kosmik
ybuzby
Joe Malesich
Thivya
zgchen886
Gareth Osborne
gotcf.net
Only Title

TechGuyMark's Q&A profile

  • Windows Forms Opening a website in a browser, in a NEW window

    Hi Rck   Process.Start works pretty much like cmd.exe. For that you have to use Process.Start("IExplore.exe", sLink).   If you want the same behavior as WinKey+R, you'll have to use Process.Start("Explorer.exe", sLink). -- Paulo Morgado MCSD.NET - C# MVP https://mvp.support.microsoft.com/default.aspx/profile=D4A89909-0CCC-4D8B-8E7B-AB0F3DEB1E66   <Rick Hodder@discussions.microsoft.com > wrote in message news:97d52e82-7cd5-4a1b-bbeb-78f4df3d9829@discussions.microsoft.com ... I have a form that has a link label that holds a website address. When the linklabel is ...Show All

  • Visual C# calling scripts from C#

    how can i call javascript functions from my C# code <script language=javascript> function test() { // my code } C# --------  protected void Page_Load(object sender, EventArgs e)     {  Response.Write("<script language='javascript'>test();</script>");     } the above C# code is not working. but if i use alert() function, then its working Response.Write("<script language='javascript'>alert("hello");</script>"); pls help me to correct the problem. Try this: <script language=javascript> function test() { // your code } C# code ---- ...Show All

  • SQL Server msdb..backupset.backup_finish_date -- changes from SQL2000?

    It appears that the behavior has changed for the backupset table in the MSDB database between versions. In SQL2000 backup_start_date & backup_finish_date were populated correctly. In 2005, backup_finish_date is the same as the backup_start_date value. Is this a bug or should I be looking for my backup timing elsewhere in 2005 Thank you. Your info helps. Our start/finish times do NOT include the time it takes to open the media set and prepare it for writing. The time only includes the time that is actually spent transferring data. This is the same logic as exists in sql2000. For exampl ...Show All

  • Windows Forms Cancel from an AddNew in DataGridView

    HI All, I have a win form with a DataGRidView bound through a BindingSource to a table in a Dataset. (All VS2005 of course). The way I would like the app to work is the user clicks on the new row (the asterix row selector) on the DataGridView to indicate they want a new row. This then pops up a dialog that lets them select which of an available set of entries they want to add. The list is potentially big, which is why its not just a dropdown on the grid. If the user then decides they do not want to add a row after all, I want them to be able to cancel the add, and the app should finish up with the same empty datagridview they starte ...Show All

  • Windows Forms DataGridView Edit Menu

    Is there an example of a DataGridView popup menu for cut/copy/pasting rows along with the code for cut/copy/pasting the rows .  The popup menu pops up when the user right clicks on the row selector column for the row(like in MS Access). ...Show All

  • Visual Studio Error installing under Checked XPSP2 - Win Installer 3.1

    Trying to install the final build of VS 2005 under the Checked/Debug build of Windows XP. My last try was a fresh install of XP followed by the Checked/Debug SP2 update. Cannot get past an error in the first step of VS 2005 trying to install Windows Installer 3.1. I downloaded the 3.1 Installer redistributable to see if it would install by itself.  It displays a message saying that the Checked version of XP cannot be updated with the Retail Win 3.1 Installer and vice-versa. Is a checked version of 3.1 Installer available I do not think there is a checked installer for MSI 3.1. I will find out if there is ...Show All

  • Smart Device Development Starting another program from code

    Hello. I am having difficulty finding out how to do something very simple I believe. That is, I want to start another application from within my application. For example, if I were to write my own menu app and I wanted to allow the user to execute "\windows\notes.exe", how can I do this Any help would be greatly appreciated. btw... I've researched system.diagnostics.process.start but my code editor does not seem to recognize this. System.Diagnostics.Process.Start() is indeed what you want. It, however, did not exsist until .NETCF 2.0. Are you using v1 or v2 What code editor are you using If ...Show All

  • .NET Development AppDomain.AppendPrivatePath Depricated

    I get a CS0618 that AppDomain.AppendPrivatePath is obsolete. The suggestion is to use AppDomainSetup.PrivateBinPath instead, but no matter how I set it, PrivateBinPath remains null. I am trying to update AppDomain.CurrentDomain after the domain is started. Is AppDomainSetup the correct way to go It seems this would only apply at creation of the domain, and I need to make this modification after the AppDomain has started. Thanks i have the same problem. is there no way of changing the private bin path of the base domain. i used to do this using the AppendPrivatePath, how do i do the exact functionality of ...Show All

  • Visual Basic If Date_Created is null then Date_Created = Date

    How do I get this to work.  I am using VBA in MS Access.  I have a command button that when I click on it I want it to insert the date into a date filed I have on the form only if there is nothing in that field to begin with. If Date_Created is null then    Date_Created = Date End If if IsNull( Date_Created) then    Date_Created = Date End If   ...Show All

  • SQL Server Reference variables with identical names but different scopes

    Hi, I have a script task that can "see" 2 variables with identical names. The only difference is that they are scoped differently. As far as I know my script task will use the most locally scoped variable by default. Is there any way to make it use the other one -Jamie   DarrenSQLIS wrote: Give people a chance, you only posted a few hours ago! Saying that from all we have learnt about the “precedence” behaviour of variables and scope, I certainly don’t think it can be done. Did you suggest a fully qualified syntax to access higher variables I’d quite like that, but not a big deal for me (yet). Yeah I know, sorry,&nb ...Show All

  • Visual C++ How to remove files

    Hi, again, I am a newbie to the programming and I need your help! Well, I am just trying to learn the language for my hobby and free time. But I need to get help to this.... I tried the Remove command like: for Delete32.cpp: _________________________________ // remove example: remove myfile.txt// #include <stdafx.h> int main () { if ( remove( "myfile.txt" ) == -1 ) perror( "error deleting file" ); else puts( "File successfully deleted" ); return 0; } _______________________________________ and this, I used remove command (or I think) to delete myfile.txt within the SAME directory to where Delete32.cpp is located but, how do i ma ...Show All

  • .NET Development How do I send mail using C#?

    Does anyone have a code snippet that shows how to send mail from c# Dear Mohamed,   I was very interested to try the code snippet using authentificated SMTP you gave us, but I cannot find and member Fields in the System.Web.Mail.MailMessage object. How come I am the only one Did I do something wrong Thanks,     ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Mouse Hit Testing when primatives used not meshes

    I did search the existing threads and have read them - those that I can understand - but they do not seem to apply - at least with my limited understanding. I have a "2D" card game started in DirectX3D using managed C#. I read Tom Miller's book as the basis and starting point. I have several "playing" cards rendered as CustomVertex.PositionedNormalTextured that I add to a VertexBuffer. I draw them with the DrawPrimatives call. The are all "flat" (have the same Z axis) so that should help, and there is nothing "behind" them. Simply non-overlapping cards arrange on the screen. Everything works g ...Show All

  • Visual Studio Unable to view deployed reports

    Can someone help me   I am attempting to open a report with the CrystalReportViewer using as Visual Studio 2005 web form.  Here is the code in the code behind page. ----------------------------------------------------------------------------------------- Option Strict On Imports CrystalDecisions.CrystalReports.Engine Imports CrystalDecisions.Shared Partial Class ReportViewer     Inherits System.Web.UI.Page     Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load     End Sub     Protected Sub Page_Init(ByVal sender As Object, B ...Show All

  • Smart Device Development PocketOutlook

    PocketOutlook in windows mobile version SDK 5.0 SDK documents the following classes Microsoft.WindowsMobile.PocketOutlook.EmailAccount Microsoft.WindowsMobile.PocketOutlook.EmailAccountCollection for use in managed code. Can a native application written in C++ make use of these new features and if not how can a native C++ application enumerate the existing email accounts setup on a device. What you need is the Pocket Outlook Object Model. See http://msdn.microsoft.com/library/default.asp url=/library/en-us/wcepoom/html/ceoriPocketOutlookObjectModel.asp ...Show All

©2008 Software Development Network