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

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

Gadfly

Member List

giftgirls
alan279
anubisascends
Axe22
Vijay Chegu
Bernie West
davros51
ajliaks
Bill_W
Saibal Goswami
Barbfrog
pu132
sunliang
Klaxas
Bruce Baker
Rolle
Thomas Pittman
Player 11
Animesh Scicom
Butters_Stotch
Only Title

Gadfly's Q&A profile

  • Visual FoxPro VFP7 COM+ error while calling from ASP.Net 2.0 on IIS6

    Hi, I have an ASP.Net 2.0 application which interop with VFP7 COM+ (using DCOM). It was running fine on IIS5, WIndows 2000. Recently I migrated the server to Win2003 and IIS6 is running on native mode, and I couldn't get the COM+ running, below is the information and hope someone here could help: 1. If the application pool identify set to 'Network Service', I can't even create the COM+ object in the ASP page even though I have granted the 'Network Service' account with neccessary NTFS folder permission. 2. If I change the identify to let say Local System or Administrator, I have no problem to create the COM+ object in ASP page, and VFP codes in the OLEPUBLIC class Init event has actually being processed as well (for example I put a Create ...Show All

  • Visual C# Properties.Settings.Default.Save(); does not save a user.config file.

    I have settings that are in the user scope and I can update them at runtime. When I call the save method,nothing gets saved. Any ideas Did you ever get this figured out I am having the exact same problem and none of the solutions provided have helped. Thanks ...Show All

  • Visual Studio Team System Custom History Control

    We would like to add a tab to the work items that is similar to the History tab in its functionality, but only lists times where the work item state transitioned and who did it. I could figure it out by reading the database, but this isn't recommended since the DB schema could change. Also, I would need some way to perform a query when the work item's form is shown. I could add a trigger to modify a custom field that contained the information, but again, the trigger would be referencing the schema. Also, I don't like adding to the database in this fashion. If there is an event that is fired every time a work item is changed, I could have the event call a web service and let it modify a custom field if the state had changed. This s ...Show All

  • Visual Studio Checked items on vb.net

    when i checked a project in vb i got that check mark right next to the project's form, code...everything... How do i get rid of this check mark Thanks If we are just checking out one file at a time because others are working on other files within the project, I cannot then checkout all files to compile for testing, right How do I go about compiling my vb.net or asp.net project to test if I am only checking out one file at a time into VS.net Thank you. ...Show All

  • Visual FoxPro How to overwrite a disk file that is read-only?

    While trying to run oFS = Createobject('Scripting.FileSystemObject') ...... oFS.CopyFile (file1,file2,.T.) I get an error on statement # 2 if file2 is read-only. It is a errant situation. This file is not supposed to be this way. I have to transfer about 2,000 files each time and a couple of them turn out to be this way for no apparent reason. The program breaks down. How can I change this property on the fly programmatically Thanks. Function ModifyFileattribs lparameters tcFileName, tlReadOnly, tlHidden, tlSystem #define FILE_ATTRIBUTE_READONLY 0x00000001 #define FILE_ATTRIBUTE_HIDDEN 0x00000002 #define FILE_ATTRIBUTE_SYSTEM 0x00000004 local lnNewAttr lnNewAttr = iif(m.tlReadonly,FILE_ATTRIBUTE_READONLY,0) ...Show All

  • Visual Studio 2008 (Pre-release) WCF Installation without internet connection

    Hi, Since i'm using Virtual PC i can not connect with Internet. So how to install WCF without internet connection Is complete installable available Rgs Vasu just download the windows SDK for the same and it will work for you regards Nishith Pathak http://dotnetpathak.blogspot.com ...Show All

  • Windows Forms Form Drawing

    Hi, I just started working with Visual Studio and C# and I'm trying to build a simple application. I'm spawned a few balls and made them move around. After hours of trying to figure out how to use the double buffer feature I just figure it out. My Problem: Now My problem is that the application is very slow when the form window is expanded.I was running all my tests in a 200*200 window. There is a huge performance issue between 200*200 and 800*800. My guess is that Graphics g.Clear(Color.Black); is taking too much resources. But I don't know, I'm new to this stuff Question: Can I NOT re-draw the background but still clear the balls Thank You Here's a poriton of my code: private void Form1_Paint(Graphics e) { Graphics g; ...Show All

  • Visual Basic CREATING INSTALLERS OF A SOFTWARE

    If a make a software using Visual Basic 2005 and it has a database made in SQL 2005, how can I create the intaller so it will create de database and install de program in the client pc without too much effort from the client Do I have to use an installer software to create it or I can do it from VB Thanks for the help If the software is create using VB2005 - is the SQL database a SQL Express database or a SQL Server 2005 database - if its an express database you can simply create a click once deployment for this and the SQL express database will be installed on the client machine. Its really simple. If your wanting to deploy a database to a full blown SQL Server 2005 then the setup will be a bit more c ...Show All

  • Visual Basic dataset visulizer column widths

    The dataset visulizer in VS05 is great, but I find my self constantly spending time expanding the column widths to get the information I need. Is there a way to set the column widths globally either to a fixed width or the width of the column name Thanks Bob ...Show All

  • Visual C# How do I refrance an object after I have created it ?

    I have created a class called clsserver and it inherits from the Picturebox class. Basically it is a picture of a server and displays as different colours as the status of the server is found, ie green is good, yellow might be a problem and red is can not access. With the Gui I can display multiple server on the screen ie 15 of these clsserver classes left to right, top to bottom. In the code I have called the instances of the class server. for each server I run this code. Server = new SQLServerMonitor.Server. clsServer () Server.Name = ThisServerName //IP of the server Server.Parent = pnlbackPanel; //calculate where to place the picture box on the screen if (ServerCount !=1) Calculateposistion( ref Left, ref ...Show All

  • Windows Forms Samba Struggles

    I am having a problem that I have seen a few other places, but no solutions for. I cannot connect to samba. I can see the computer on the network and I can even ping it (Name and IP address), but whenever I try to access it says "Windows cannot find \\gnu (or \\192.168.0.20 ). Check the spelling and try again. I have already changed the security policy to "Send LM & NTLM - Use NTLMv2 session if negotiated." Does anyone have any other suggestions. I am running Vista Build 5536. Thanks This forum is for the development of Windows Forms Applications using .NET Framework 2.0 technology. Please redirect your issue to a forum that better suits your question. http://www ...Show All

  • Visual Studio BorderStyle

    Is there some trick to getting the 'fancier' BorderStyles to work These styles don't look like I would expect them too Maybe they only work when viewed in a web browser Groove Ridge Inset WindowInset Outset ...Show All

  • .NET Development Launching a web browser with URL in a string

    Hello! I'm using .Net 2.0. I'm launching the default web browser with the following code: System.Diagnostics.Process.Start(url_string). Url_string is a string variable that contains the URL I want to open in the browser (e.g. "http://www.searchexample.com=q&e=aakkonen&esim"). The problem is that if the string contains scandinavian characters (a, o, a) or the characters &, ", #, they will be converted to some kind of HTML code. For example %E4 stands for letter "a". How to open the web browser without changing the string at all For example video.google.com. Yes, converting the character to %E4 will work but then for example IMDB.com search engine won't work because it is ...Show All

  • Software Development for Windows Vista WorkflowRuntime events are missing when using an indexer! Bug or Feature?

    Hello, we are getting some strange behavior from the WorkflowRuntime when using an C# indexer within a SequentialWorklfowActivity, the events like WorkflowCompleted are not being fired anymore. Here is the scenario/code: namespace WorkflowConsoleApplication3 { public sealed partial class Workflow1 : SequentialWorkflowActivity { public Workflow1() { InitializeComponent(); Console . WriteLine ( "MySequentialWorkflow ctor" ); Variables = new Variable2 [] { new Variable2 ( "WorkplaceName" , "" , false , "" ), new Variable2 ( "UserName" , "" , false , "" ), }; } [ Description ( " ...Show All

  • Windows Forms CanConvertTo

    This code: Public Overloads Overrides Function CanConvertTo( _ ByVal context As ITypeDescriptorContext, _ ByVal destinationType As Type) As Boolean If (destinationType Is GetType(SpellingOptions)) Then Return True End If Return MyBase.CanConvertFrom(context, destinationType) End Function from this page doesn't make any sense to me. We're talking about converting between a string and an object. The ConvertTo function relates to conversion from the object to a string. The CanConvertFrom and ConvertFrom functions relate to conversion from a string to the object. So why does the CanConvertTo function also relate to conversion to the object Surely you're looking for the destinationType to be a string here ...Show All

©2008 Software Development Network