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

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

PetroWEB

Member List

Anand S N
Bas Hamer
jaune
satnik12
wilsonLOP
Phillip Franklin
michielonline
Huseyin Gedikli
Dmitriy Vasyura - MSFT
Jeremy Gauthier
AmitJoshi
chawacho
Roy_Welch
DragonVic
Madcowrus
redevil
engsrini
bala_kk
Arun-YEG
citykid2
Only Title

PetroWEB's Q&A profile

  • Visual Basic Save\Load values as text file

    Hello In VB6, I was able to save and load values as text file, it saves them like this form: "V1","V2","V3" I was using this code: Dim A As String, B As String, Op Op = FreeFile A = "Value1": B = "Value2" Open "D:\File.txt" For Output As Op Write #Op, A, B Close Op How can I do it in VB2005 Thanks & Regards The following code ...Show All

  • Visual Studio Express Editions vb 2005 express edition : data source list

    Hi, I just finished installing VB 2005 express edition and try to connect to my SQL server database on another machine. I try to create a data connection but the data source list just gives me choice between connecting to access mdb files and SQL server database files. I can I connect to a remote SQL server I succeeded in creating programmatically an adodb connection but that's not what I want : I want to see if I can manipulate data visua ...Show All

  • Visual Studio Team System Centralize suppressions (no more attributes) in VS2005

    Using VSTS, how can we avoid having to suppress violations all over our codebase I'm aware we can suppress things at an assembly or module level, but that's not my intent. I want to have fine-grain control, yet don't want my codebase polluted with all those attributes. This is the only reason we can't use the built-in Code Analysis in VSTS -- it screws with the code. I just want a separate analysis file that can store all the information it need ...Show All

  • Visual Studio Problem deleting temp file.

    I was trying to have a task that copies the dependencies to a specified location. In order to do that I have a dll that gets a dll/exe as input and using reflection it finds the dependencies names. The function looks like that: public override bool Execute() { Assembly myAssembly = Assembly.LoadFrom(AssemblyLocation.GetMetadata("FullPath")); AssemblyName[] refAssemblies = myAssembly.GetReferencedAssemblies(); FirstOrderDepede ...Show All

  • Visual Studio Team System Missing Object Test Bench menu items?

    I have just installed Visual Studio Team System RC and I can not for the life of me find out how to display an object within the Object Test Bench. The help gives the following instructions: In the Class View , right-click the name of the class or struct whose instance you want to create. Click Create Instance to display the public constructors of the class. Select the constructor to display the Create Instance Dialog Box . ...Show All

  • SQL Server Pictures not displaying

    I tried to search for this but couldnt get a satisfactory solution.. We have pictures stored in a table as BLOB files. When I try to display them through RS it just shows 'X' in that field... Any help is appreciated.. Have a look here: http://msdn2.microsoft.com/en-us/library/ms156342(SQL.90).aspx -chris ...Show All

  • .NET Development How to catch a key in windows

    Hi, I need to activate my program if PrintScreen key is pressed and focus is on some else program. Thank you. You can use windows hook to do this http://www.codeproject.com/csharp/NetWin32Hooks.asp . Install keyboard hook, check for printscreen key and do your stuff ...Show All

  • SQL Server ~* Total Pages mismatch *~

    Hi, The number of pages in the report viewer and the number of pages in print preview are different. how could the prob. be resolved... Thanks in advance. Cheers Chakri. The Report-Viewer doesn't follow the page-properties (height/width/borders) and so it doesn't make page-breaks if your page is "full". Why is this bothering you ...Show All

  • Visual Studio Express Editions StreamReader

    I am able to get the information that I want and a lot more that I don't using the following code -------------------------------------------------- Dim out As String Dim Net As Process Net = New Process() Net.StartInfo.UseShellExecute = False Net.StartInfo.RedirectStandardOutput = True Net.StartInfo.RedirectStandardInput = True Net.StartInfo.FileName = "cmd.exe" Net.Start() Dim mystr ...Show All

  • Visual C# Dictionary as parameter

    hi all, simple question - hope for a fast solution. :-) how can set a dictionary object as parameter i tried something like this, but it didnt work... public void doSomething(Dictionary parameters) { ... } would be great if anyone could help me out on this one... thanks in advance, .k As far as I gather an integral part of Dictionaries is their keys. So the function for a dictio ...Show All

  • Visual Studio Express Editions Unable to start debugging on the web server.

    I have been working with Visual Web Developer 2005 Express in file mod and have had no problems. I created a site in IIS which is running and working for aps code. I have asp.net 2.0 installed on my system and appears to be set up for the new site. When I try to run a file from VWD I get the following error message. Unable to start debugging on the web server. Unable to connect to the web server. Verify that the web server is running and that ...Show All

  • .NET Development Synchronous and Asynchronous Threads in Sockets

    I have already posted details of my ASP.NET application communicating with a PABX in the same forum. Iam looking to get some clarity around what kind of sockets do I use in my application. The PABX allows only one connection at a time. The application is expected to reside in a web server and open that one connection and queue/stream-line all further communications to the PABX through this. I guess multiple threads is ruled out here a ...Show All

  • Windows Forms Custom displaymember and valuemember in a bound Combobox?

    I have created a form with a combobox that is bound to the database table field "State". The State field use numeric values 0,1,2,3,4 according to the state. The problem is that i don't want to show the exact same values it retrieves from DB, i rather want to display a list of possible "States", with custom text corresponding to the value. Example: The value 0 actually means "Stopped". So i want it to add the ...Show All

  • Windows Forms The order of files returned by the OpenFileDialog

    I have a question about the order of files returned by the OpenFileDialog. I have four files (File1.txt, File2.txt, File3.txt and File4.txt).  In the OpenFileDialog I select them in the order of: File1, File2, File3, File4.  However in the OpenFileDialog.FileNames array they are in the order File4, File1, File2, File3.  If I select them in the order File4, File3, File2, File1, then in the array they are in the correct o ...Show All

  • Visual Studio 2008 (Pre-release) select in with many to many relationship

    I've an entity Profiles containing Tags with a many to many relationship. I want to return all profiles that contains at least a list of some tags e.g. all profiles containing tags with id=10 and tags with id=12 This is my method: public List < Profile > GetProfiles( List < int > tagIds) { List < Profile > profiles= new List < Profile >(); Query < Profile > q; q = from p in db.P ...Show All

©2008 Software Development Network

powered by phorum