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

Software Development Network >> Dave Calkins's Q&A profile

Dave Calkins

Member List

jerfoo
Steven Gilissen
Dipesh Agrawal
kasmatt2000
ROBSR
trint
pinoyz
ECHS BACHS
RizwanSharp
RonanH
Phil026
David S. Anderson
Pawel W.
srinivasintouch
shaddado
_SeanK_
Bill Reiss
Malleswar
pjhunter
ofsarac
Only Title

Dave Calkins's Q&A profile

  • .NET Development set session value in javascript

    Hi, I have one aspx page(main.aspx) that contaion one check box(chkStatus). I will call another page(popup.aspx) by clicking a button(btnPrint) with javascript:wondow.open() method. The things i would like to know is that if I check chkStatus I want to save value in session variable. I will use that session value in popup page. I try like this, but it doesn't work. chkStatus.Attributes.Add( "onclick" , if( chkStatus .checked== true){ <%Session(""status"") = ""MyStatus""%> ;}" ) Any idea I am in urgent. Thanks, MeeNge If you want only getting checkbox's checked property, you can use window.opener.document.getElem ...Show All

  • Visual C# Get window handle

    Hi All, Is there any possibility of getting the handles of all windows which are present in the taskbar. I need to track down which window is being closed and display a message stating the file name of the closed window. In the above case, i can take only the process as such. If i am opening 3 doc files, will i get only one handle and moreover, how i can track from my windows forms, which external application is closed. For example, if i have opened a txt file. When i'm closing this txt file, a message must be displayed in my windows application stating that the file is closed. Is it possible to do ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Shooting

    What code could u use for something to shoot. would this event work: if(GamePad.GetState(PlayerIndex.one).Buttons.A == ButtonState.pressed) shoot = true; if(Shoot = True) { bullet.X = Player.X; bullet.Y = Player.Y; buller.Y += bulletSpeed; shoot = false; } Ok, for a static class, you could do one of the following: public static class Constants { public static int BULLET_SPEED = 128; ... } Ok, now lets say you are firing the bullet at vector < 1, 1>. Lets say this is held in the variable bulletVelocity; So, bulletVelocity = new Vector2 (1,1); In order to move the bullet at constant speed regardless of direction, normalize the vector. bulletVelocity. Normalize (); ...Show All

  • Community Chat Automated testing tool for WPF/XAML

    We at invivosoft have implemented an automated testing tool for WPF forms. This tool has recorder and playback facility. You can insert verification hooks for writing verification code for your logic. The beta version is scheduled for release tomorrow (Feb 21, 2007), Thanks Sanjeev Kumar Invivo software The automated testing tool "iSimplyTest" is available for download at http://www.invivosoft.com/html/isimplytest.htm Sanjeev Kumar http://www.invivosoft.com   ...Show All

  • .NET Development Little help with Windows Communication Foundation plz

    Hi i have the following code taken from a tutorial. Now i wish to return a string called returnString but it won't compile because the string is being accessed from another class. So how do i return the string Basically i wish my service to access objects from the application hosting the service.  Thanks.   using System; using System.Collections.Generic; using System.Text; using System.ServiceModel;   namespace Messenger {    public class ClientService     {        ServiceHost serviceHost;        String returnString = "String I want to return";         public ClientService()  &n ...Show All

  • SQL Server exporting multiple rows

    I'm trying to set up a row that has 5 rows below it and when you click on the + it'll expand to show the five lines. They're all set up to toggle based on the one row. It works online, but when I try to export it to anything, it only picks up the first detail row and leaves off the rest. I'm doing this for a bunch of reports, and they're all being emailed using subscriptions. I've moved the detail rows around but each time it's just the first detail row that is exported. Any ideas thx, M@ mattcushing@gmail.com(noSpam ) Hello, What formats are you trying to export to Toggleable visibility is only supported in a few rendering extensions (HTML, Winforms, and in some cases Excel). Wh ...Show All

  • Windows Forms Windows application in different DPI

    I have developed a window form based application for tablet pcs. The problem I am facing is screen looks displaced on high dpi setting ie 120 how it make it work for both resolution Thanks Sudhee Two ways if you are in .net 2 you should be able to use the new containers like tablecontainers to repositions buttons and spacing in a % effect rather than by fixed widths. The second way is you check for what type of machine the users is on and there settings and programmatically change the screen. This is alot more long winded and very painful in places but this should hopefully solve you problem. HTHs, Sorry I could not give a better solution though. James ...Show All

  • Gadgets Microsoft Bob

    How do I get this older software to work with XP I grabbed the Gateway edition of Bob, and it ran immediately on XP SP2 without any trouble at all, no compatibility mode needed or anything. I did have all sorts of weird junk installed on both PCs I tried, so maybe that had something to do with it. Anyway, I reckon if Bob was updated to be a proper XP application, with the following extra features: Your own decorations and application launcher pictures, and views and rooms and... essentially, completely customizable, including putting your own apps in as "proper" Bob apps, with Bob splash screens, and such. Room transitions, so if you click the trap door in your attic, it actually ...Show All

  • Visual Basic trying to add a delegate for AddressOf WindowProc

    I am trying to add a delegate as indicated by the upgrade wizard. I can't figure out how to eliminate these errors. I added the delegate as best I understood how to do this. Can anyone follow this Ideas   Appreciatively.  -greg   MainForm.vb   'UPGRADE_WARNING: Add a delegate for AddressOf WindowProc Click for more: ref: http://msdn.microsoft.com/library/default.asp url=/library/en-us/vbcon/html/vbup1048.asp       defWindowProc = SetWindowLong( Me .Handle.ToInt32,MessageHandler.GWL_WNDPROC, MyWindowProc)      Error :   Value of type 'MainForm.MessageHandler.WindowProcDelegate' cannot be converted to 'Long'.       (referri ...Show All

  • Visual Studio Express Editions Regarding Database client supported by Express Edition

    HEllo , Everyone , On my Desktop ,I have installed Express edition ( C# & Web Developer) with no Express edition of SQL-Server 2005 also dont have Sql- Server 2000 ,Instead I have Oracle 8i installed When I use any data control e.g. Datagrid for connection with data base it is showing only two data base client one - for access & other for sql server Can Any one please tell me how many clients are supported by Express version. Can I use Oracle 8i with Express Edition as Database. Please reply Thanks abh_pat Try installing the .NET Provider for Oracle . ...Show All

  • Windows Forms adding data to a gridview that has data in it from xls

    I a grid view that is being filled by xls sheets.(preformated). I can get one sheet loaded, but if the user wants to add another xls to the data currently in the grid view. the databind is cleared how can i just add the new sheets data gv1.AutoGenerateColumns = False Dim myconnection As System.Data.OleDb.OleDbConnection Try Dim DtSet As System.Data.DataSet Dim MyCommand As System.Data.OleDb.OleDbDataAdapter myconnection = New System.Data.OleDb.OleDbConnection( "provider=Microsoft.Jet.OLEDB.4.0;data source= " & TextBox1.Text & " ; " & "Extended Properties=Excel 8.0;" ) MyCommand = New System.Data.OleDb.OleDbDataAdapter( "select * from [she ...Show All

  • Visual Basic Setting AD information from LotusScript

    Yes, I know what you're going to say; "What's a LotusScript question doing here in a VB forum " Well I'll tell you. The language is almost the same and I think I need to get a little closer to those well versed in Microsoft rather than the Notes folks. This is really more about AD access through a language rather than the actual language itself. Here goes.... A little while back, I posted a nifty script to update AD from notes -> https://www-10.lotus.com/ldd/nd6forum.nsf/ShowMyTopicsAllFlatweb/89727caefb8ca61b852571ef00607bb4 OpenDocument Since presently I'm a Domain Admin, it runs great when I run it manually from my PC. If however I have it run on schedule on the server, I get the above error. If I put my Domino ser ...Show All

  • SQL Server Cal Measure % against total

    How to define calculated member whose value should be the row value divided by total of all rows. Example, sales of 2005 was 50k and sales for 2006 was 100k. The % 2005 sales is 33% of total (150k) and 2006 is 67%. Thank Hans This problem is solved. Please guide me to get the same result with multiple dimensions. Also, i have a variance calculated member, which is on the date time diminsion [Sale of 2005] - [Sale of 2006] = [Variance 2005]. I would like to see three measures, [Year 2005 Sale], [Year 2006 Sale] and variance. But i get Sales and variance figure under Year 2005 and same under Year 2006. How to get the desired result. Thanks Shekhar ...Show All

  • Windows Live Developer Forums Dashboard control

    Hi, How can I specify the dashboard position on the map In V2 there was an object parameter in MapControl() constructor. Using this object parameter I was able to specify where I want to place the dashboard. Is there something similar in V3 I tried playing with .Compass and .Zoombar styles but they move only compass and zoom bar respectively - the dashboard (light blue semitransparent box) remains in upper left corner of the map. Thank you, olley. Wow! That's exactly what I need. May be it is not ideal and not documented but it works Thank you guys! ...Show All

  • Visual Studio Express Editions How do I do simple Telnet actions?

    What I would like to do (would be a dream, actually) is to create a little program that would check my current IP from time to time, and if the IP goes out of the 201.47.###.### range (due to my IP being dinamic), it would restart the modem as many times as needed to get an IP that would be in that range. I know the codes to reboot my modem through telnet are only these: telnet 192.168.1.1 **** (user) **** (pass) reboot Now I need to create a program that would check if my IP is in the range I want, and if not, it would run those 4 lines above, I just don't know how to input those simple telnet commands in VB . I've searched throughout the forums and Google and only managed to find large codes of stuff that wouldn't work and I wouldn't ...Show All

©2008 Software Development Network