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

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

JohnSLG

Member List

Jon Prudhomme
ElroyDSilva
quantass
nhaas
hcaihao
gmcbay
Kranthi Ranjan
Minherz
doublejay
sydes141
Tim Mostad
Sumit Bhatnagar
c699976
Gpg
vbjunkie
simon burgess
Shruti00
james_cline_
Ben Hall (UK)
Bluhman
Only Title

JohnSLG's Q&A profile

  • Visual FoxPro mscomm32 issue again

    For some odd reason everytime I try to install the Active X mscomm32 control on my form it tries to reinstall something from my distribution disks (the EXE that I create for my software not the original Fox disk). This happened a while ago and I simply uninstalled my EXE and program and reinstalled and it was fine. Today it started up again.  Here is what I did: 1) Ran    regsvr32 c:\windows\system32\mscomm32.ocx 2) Checked to see if the Active X was installed in the available Active X list (it Was) Any other ideas   ...Show All

  • SQL Server BUG: Severe error occurred on the current command...

    select top 10 count(*) peerTotal, B.peerCountryCode, B.peerCountry, (select top 1 peerCity from Peers where peerCity != 'Determining' AND peerCountry != 'NULL' and peerCountryCode = B.peerCountryCode group by peerCity order by count(peerCity) desc) peerTopCity from Peers B where peerCountryCode != 'NULL' and peerCountry != 'NULL' group by peerCountryCode, peerCountry order by peerTotal desc This causes the error but if you take the order by at teh end out, it works. The table is partitioned acrosss 3 blades Hmm.. I am also getting this error, even after installing the new Sp2 CTP patch.... this is bad that no one has even responded to this yet.. ...Show All

  • Visual Basic Code Simplification

    OK, first, i'm sorry if the thread name isn't as clear as it should be. The question is this: I have a code that uses up to 10 labels, depending on what the user would input at the beggining. (If the user says 7 labels, only 7 labels are shown, etc) I tried using this code at first since i didn't know how to use FOR, i had to repeat this 10 times, wich of course is huge since the only things that would be different are the "Dado1.Text" and the "Dado1.Visible" lines. (They would be changed for, Dado2, Dado3, and so on.) Dado1, Dado2,..., Dado10 are LABEL names. If i <= j Then temp = Int(Rnd() * 10) Dado1.Text = CStr (temp) If temp >= Int(Dificultad.Text) Then exito = exito + 1 End If ...Show All

  • Commerce Server 3rd Party Payment

    Hi I'm having trouble figuring out how to implement a 3rd party payment solution from within the starter site. Has anybody used a 3rd party to collect payment from within CS I'm trying to figure out whether I need to create a new payment pipeline, or whether the existing one can be modified. We are planning on using Protx, who provide an ASP.Net integration solution. I'm a newbie by the way, so that might explain why I can't find such a solution. Paul Hi Joseph Thanks for the response. I'm presuming that I would have to make SOAP requests (or some other HTTP request) to the Protx website or am I missing the point of pipelines Regards Paul ...Show All

  • Visual Studio Express Editions View source code!!!

    Hey, how can i view the source code on a webbrowser you can right click the webbrowser then go to view source code as you do in IE. programmatically the source code for the entire page is in the DocumentText property. Me.theWebBrowserControl.DocumentText the document text holds the entire page. further more you can access specific elements/get specific elements etc... via the Document property. It contains things like GetElementById, or access Forms by index to get contents of that form and so on. http://msdn2.microsoft.com/en-us/library/system.windows.forms.webbrowser.aspx ...Show All

  • Software Development for Windows Vista PPID and keypair dependencies on RP's public key

    I want to clarify how the PPID and keypair for a self-issued card is computed. Andy Harjanto (on the CardSpace team) gave me the following information back on 11/30/2005 when I was researching CardSpace for the MSDN articles I wrote on the topic. Here's what he said at the time: * What's the "Personal Private Identifier" - how is it unique >> We use some derivation of site’s key, salt and cardId – it will be unique for each site. At the time I got this info, I was just happy to know how the PPID was computed, and that it prevented collusion between RPs. It didn't occur to me until later that hashing the site's public key into the PPID renders that key heavy . If you change your public key (i.e., your cert is renewed) all the P ...Show All

  • Windows Forms clear all values of databound components

    in my C#.net 2005 winform app, i have a form that contains many databound controls (bound with same bindingsource). I want to be able to click on a button and clear all this fields. i dont want to do things like "textBox1.text.clear()" for all the contols because there are too many of them. is there a method i can call to clear all these fields ...Show All

  • Windows Forms How to lock a control on a design form

    Hi there, I've created a design form at runtime using "System.ComponentModel.Design.DesignSurface" and cousins. I now want to lock individual controls on the form depending on conditions. I know I can do it this way: TypeDescriptor.GetProperties(myControl)["Locked"].SetValue(myControl, true); but this seems irregular. Is there a more mainstream way or is this it. Thanks. Hi, That is the right way of doing it although you should probably check the the PropertyDescriptor exists before calling SetValue. PropertyDescriptor prop = TypeDescriptor.GetProperties(myControl)["Locked"]; if (prop != null) { prop.SetValue(myControl, true); } Martin ...Show All

  • Windows Forms showdialog, modal.

    Hi, I have a menuForm that launchs appForms. appForms are totally independent forms, the user can work in several appForms at the same time. My problem is when one of the appForms shows a MessageBox or any modal form, all other appForms and mainForm are blocked. i'd like only the form that show the MessageBox blocked, so user can work in others appForms. I use a system to imitate modality so only the parent form is blocked. Using the activate event in the parent so when parent is activate it pass activation to the child. And using the closed event in the child to get back to parent form. Put this system in a base class so all my forms have this special Show method that blocks only the parent. I was so happy. But then i realized th ...Show All

  • Visual Studio Team System Security Problem with Accessing Work Items

    I have a security problem with accessing work items. I have created a team project based on a customized project template. Among the rest, there are a "Defect" work item and two team queries, "All Defects" and "Active Defects" . MyProject > "Team Project Settings" > "Group Membership..." context menu item shows "Project Groups on MyProject" dialog with the list of the team project groups, including [MyProject]\All that includes another team project group, [MyProject]\Developers that includes a Windows user MyDomain\John . MyProject > "Team Project Settings" > "Security..." context menu item shows "Project Security" dialog with the list of the team project groups and their permissions, particularly, the above-mentioned ...Show All

  • Visual Studio vss & vs2005: error when check in, check out, read last version...

    hello world, i'm using vss in vs2005, but when i try to check out, check in a file or make any operation involving source control i get this error: all ok: i simply have overwrited oledb32.dll with this one http://www.dlldump.com/download-dll-files_new.php/dllfiles/O/oledb32.dll/2.81.1117.0/download.html and then i have registered it ...Show All

  • SQL Server shell manager corrupt or missing

    can any body help me with this i know nothing about a pc except how to use them. the error message appears while trying to install a program ...Show All

  • Visual Studio Tools for Office Problem using ServerDocument.AddCustomization

    Ok, here's the situation. I am creating a system modeled closely to this: http://msdn.microsoft.com/library/default.asp url=/library/en-us/odc_vsto2005_ta/html/OfficeVSTOBenefitsRegistration.asp I am at the point where I am adding the customization to an uploaded word document. But I'm getting an error, and I can't make sense of the error, so I can't proceed to fixing it. I hope someone here can help. Here is the error I'm receiving (I've put this together in a catch, if you need the raw error, I can post that): An error occurred while saving the form. at Microsoft.VisualStudio.Tools.Applications.Runtime.IAppInfoDocument.SetDocument(String fileName, Byte[] bytes, FileAccess access) at Microsoft.Office.Tools.OfficeAppInfoDocume ...Show All

  • Microsoft ISV Community Center Forums Array lengths

    I'm writing code that produces an array. Its basically breaking down a file path. The problem that i'm having is that I am not bale to determine the length (size) of the array as it changes sizes example C:\docs and settings\user\desktop\folder1\innerfolder\this_file.doc C:\docs and settings\user\desktop\folder1\this2_file.doc i'm using the split method to delimit the line breaking it into substrings = Split(path, "\") sub(0) = C: sub(0) = C: sub(1) = docs and settings sub(1) = docs and settings sub(2) = user sub(2) = user sub(3) = desktop sub(3) = desktop sub(4) = folder1 sub(4) = folder1 sub(5) = innerfolder ...Show All

  • Visual Studio 2008 (Pre-release) Help me design my .Net 3.0 application?

    Hi All. I've been studying C#/.Net 3.0 programming ever moment that I'm not shacked to my real job. I can say that for a guy of average intelligence who has been working in his sleep, Avalon allows me to do some amazing things and pretty quickly too. Where I'm having trouble is my high level plan. I thought If I laid it out here someone might be kind enough to give my a push in the right direction. The program description: It is a e-Book of interactive puzzles. Each puzzle has a graphical representation of some physical reality and controls that allow you to manipulate that reality. ( Start engine # 1, run engine #1 at 300 RPM, etc.) The Quester is then given a brief written introduction followed by a serious of t ...Show All

©2008 Software Development Network