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

Software Development Network >> Jeff-B's Q&A profile

Jeff-B

Member List

Ken S
Robin H. Sanner
su45937
Pradeep Gupta
Marco Minerva
Coritani
PublicError
Stupidav
rhansen
nibsi
franziss
TalhaAziz
ALFKI
Rastogi
FKopan
Christof Koch
trumpy81
Burney
apolon_vn
Alvin Kuiper
Only Title

Jeff-B's Q&A profile

  • Visual Studio Express Editions Accessing web text box

    I am making a program that automates the downloading of a file from a website of one of our providers. There is a login page which I can load up on Form1_Load() which has a user name and password box. Looking at the source code, these are called : document.forms[0].userName.value = ""; document.forms[0].password.value = ""; There is also a submit button : input type="submit" value="Go" How do I access these I want to push a button that enters the username and password and then hits the Go button and effectively submits the data. Any clues no worries my friend. Even though you may have got this stage, but this is for just a single framed (non frame) page to set a value to a textbox named " ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Stereo Vision

    Can you develop stereo vision games with XNA for the Xbox or Windows Sure can. without shutter-glasses/VR-helmet, you can try the good ol' blue-and-red glasses trick. Just position and point your camera properly every other frame. Maybe alpha blending the entire frame to get the proper color http://www.cs.mcgill.ca/~gstamm/P644/stereo.html I had a pair of SimulEyes LCD shutter glasses from early GDC, it was very cool playing Descent in full 3D! I wish there are more games supporting the 3D glasses! http://www.summittnewmedia.com/paul/nonfiction/vrgame3.htm ...Show All

  • Visual Studio 2008 (Pre-release) Drag and drop in XBAP

    Hi May I know whether the XBAP applications can support drag and drop When I tried drag and drop in a custom control I got SecurityException upon hosting in XBAP appln. Detials: Request for the permission of type Permissions.UIPermission failed. on line DataObject do=new DataObject("Item",this); which resides as follows. class MyControl :ContentControl{ override MouseDown(..){ on line DataObject do=new DataObject("Item",this); //Uses this do obj to call method DoDragDrop() later } } Please let me know ,how to avoid this.Are there any other good practices to do the same Thanks in Advance Joy Hi Joy, According to this article: http://msdn2.microsoft.com/en-us/librar ...Show All

  • SQL Server how to perform this query to return data?

    I am using this stored procedure to check if user is exist and update his alread_loggedOn field.. IF EXISTS ( SELECT login_user_id , login_password , person_name , staff_active , is_staff , company_id FROM persons WHERE login_user_id = @login_user_id AND login_password = @login_password AND is_staff = 'Y' AND staff_active = 'Y' AND already_loggedon = 'N' ) BEGIN -- Insert statements for procedure here UPDATE persons SET already_loggedon = 'y' WHERE login_user_id = @login_user_id AND login_password = @login_password AND is_staff = 'Y' AND staff_active = 'Y' END ELSE -- RAISERROR('This value already exists.', 11, 1) RETURN 1073 b ...Show All

  • SQL Server Cannot pass params (data type system.guid) to subreport?

    Hello experts, I am trying to create a report including a subreport in VS.2003 Reporting services. The subreport itself runs properly, if I give it a parameter, but when I try to run the main (parent) report, I get the obvious message Subreport could not be shown. The output windows returns a message: The value expression used in textbox ‘AccountID’ returned a data type that is not valid. The AccountID field is a system.guid. I tried to "cast" it as a text, but I got another error message that the system.guid cannot be explicitly converted. Does anyone know how to get around this Thank you very much. Ravie. ...Show All

  • Visual Studio Tools for Office Customization doesn't run in VSTO Word Doc returned from server

    I'm trying to configure an ASP.Net 2 web site to return a Word document that contains a VSTO customization that displays an action pane when the document opens. I've manually added the Caspol security settings on the machine to point to the site. I've tried it for all zones and for both IIS access to the site as well as using the built in VS web site but I'm still getting blocked and the document opens with this error: --------------------------- The current .NET security policy does not permit the customization to run ... Could not load file or assembly 'VSTOWordTest, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. Failed to grant permission to execute. (Exception from HRESULT: 0x80131418) -- ...Show All

  • Visual C# how to implement the same functions on different parts of a form?

    Hi, everybody... In some softwares, there will be MenuStrip and ToolBox. The functions on ToolBox can also be found on the MenuStip. No matter user choose to try which one, the same results will be shown. I want to ask the ways to realize this. If there are many functions related to each other, there will be a huge task to update the status of the MenuStrip and ToolBox in-phase. For example: On both MenuStrip and ToolBox, there is a CheckBox, named "cb1"<MenuStrip> and "cb2"<ToolBox>, if user check "cb1", "cb2" should also be checked and vice versa... So I have to check the status of the two CheckBoxes first, as: private void cb1_CheckedChanged(object send ...Show All

  • Visual Studio Express Editions Need value of a textbox

    I have the following piece of code. Dim offPlayer as Integer TextBox39.Text = "txtHome" & offPlayer & ".text" In my example, offPlayer is 8. I would like textBox39.Text = txtHome8.text. It currently puts in the string "txtHome8.text" and not the value. Please help. Thanks, Doug Looks like you're missing a "y" in offPlaer... Be sure that you actually have a TextBox control on the form that is named txtHome8 when offPlayer is 8. ...Show All

  • Visual Studio Express Editions VC++ 2005 build error at CMD start up it says MSVCP80D.dll was not found and said to reinstall Visual After I reinstall same...

    VC++ 2005 build error at CMD start up it says MSVCP80D.dll was not found and said to reinstall Visual After I reinstall same error occured. How to fix it or get the dll and put it where it belongs. Try this post for possible solutions: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=15218&SiteID=1 ...Show All

  • Windows Forms drawing problem

    I want to setup a picturebox control to redraw every 1/2 sec or so how do I do this what im doing is I have 16 different pictures showing 16 different angles of rotation and want to get this pic to rotate thanks I dont think that the problem is about pictureBox control By the way what is the size of your pictures You should wait until pictures to be taken to cache... So your computers speed is important in here Best Regards ...Show All

  • .NET Development regular expression

    Regex regex = new Regex( "^ \d +$"); this code gives an error pointing \d . error message is "invalid escape character" , but in fact \d is not escap character , \d means 0 to 9 digits. how can i fix this thnx It is an escape character to C#, not regex try this: new Regex( @ "^ \d +$"); The @ tells the C# compiler to treat all within quotes as a literal and not do escapes . ...Show All

  • .NET Development Removing tags when generating XML

    I am writing this post in the c# forum also as I don't know which one it is more appropriate in. I am writing code in c# that serialize a group of classes nested with lists of other classes and I get the following xml code < xml version="1.0" encoding="utf-8" > <kml xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance " xmlns:xsd=" http://www.w3.org/2001/XMLSchema "> <Doc> <Document> <name>Smily.kml</name> <open>1</open> <folder> <Folder> <name>Matts Folder</name> <open>1</open> <place> <Placemark> <name>Symantec Building</name> <desc ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Strange DX9 vertex glitch

    As seen in these two screenshots, Glitch 1 Glitch 2 In reality, I don't know what's even happening to my vertices. This doesn't happen from the beginning of the program execution, it happens randomly during the execution about a few minutes into running it. Once it happens, it will happen more frequently and sooner during the program execution when I re-compile and run.I just don't have a name for this. It happens to a handful of random vertices. I would like to think my vertex buffer is being corrupted, but when I use the D3D Debug tools, the problem doesn't happen at all.For more information, the first picture contains geometry that is rendered directly to the screen. In the second, I'm rendering geometry first to a render target, and ...Show All

  • Visual Studio 2008 (Pre-release) How I create a Proxy for WCF with TCP Transport and Binary encode in SDK July CTP?

    How serialize customized messages with WCF Binary encode and TCP transports How I create a Proxy for TCP-Binary in SDK July CTP Do you have any example Thanks, Daniel Andrade Not sure if I understand your question. But there are generally two basic approaches to create consumer-side objects to talk to services: -one would be to do contract assembly sharing and not relying on generating source code from interoperable metadata (like XSD, WSDL and/or MEX). This is, IMO, the preferred way to go in what I would like to call 'closed scenarios' (I also wrote a bit about this here). -second one is to use svcutil.exe and point it to either the WSDL or MEX metadata of your service. This second option ...Show All

  • Visual Studio Tools for Office Finding Page Breaks

    Re: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1179691&SiteID=1 Thanks already to Maarten van Stam , who answered part of my earlier question. I am trying to identify the page breaks in a Word document that will eventually be saved as a filtered html file for some post-processing later.I want to mark each page break with a string so it can be identified visually and/or by a regex expression. This will be part of an application-level plug in for word that is being developed in C#. This is in Word 2003 Professional, and I am trying to identify any and all page breaks whether they be user- or Word-generated. I didn't realized (but I did suspect) that most of the page-breaks are done on-the-fl ...Show All

©2008 Software Development Network