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

Software Development Network >> dr.acv's Q&A profile

dr.acv

Member List

NetPochi
PinTxO
SaravanaKumar_1977
Ultrawhack
KevinBurton
John Shiangoli
Mike Brown
RKN_India
mNilysg
JuergenMayer
davidjmsdn
Xancholy
OTNS
Julian Ladbury
Scott McKeown
SoMeDuDe
Zubair Masoodi
FA65
js123
Jamie Thomson
Only Title

dr.acv's Q&A profile

  • Visual Studio Crystal report help

    original report format is General David conform General Edward Not-conform Gereral Lisa Conform Conform : 2 Not-Conform : 1 i changed the report like below but background color is not applied properly General David conform Edward Not-conform Lisa Conform Conform : 2 Not-Conform : 1 i want to change the backcolor of the General if conform =not-conform yellow else if conform >not-conform green else if conform < not-conform red plz help me on this By what you sent, you have the formula in the "general" field, but it looks like the formula is only going to be calculated on ...Show All

  • Visual Basic same form to block

    hi for example; when user opened form2, user won't open form2 again. how can I do To only allow a single instance of a form to show you can use the my forms within you application. This application will only create one instance of Form2. It doesnt matter how many times you click the button. An example of default instancing. Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click My.Forms.Form2.Show() My.Forms.Form2.Activate() End Sub End Class ...Show All

  • Visual Basic Handling popup windows

    Tell me how to handle popup window in VB. It may be done using newWindow2 event.But i am afraid I dont know how to use it. Help me please. Help me doing the same using newWindow2 only as I can't use newWindow3 in my system. Some automation error is coming. Thanks in advance. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. get screen resolution & FullScreen

    How do I get screen resolution of the computer Because my program will be shared between many computers, I want the program to find the resolution of the computer on wich it is running. By example, on my computer at home, the program will return the value 1024 and the value 768 in order to make 1024 X 768. On my laptop, I will get 1920 and 1200. I want to get the width and the height separately, in two variables. With those values, I will be able to set automatically on each computer the window size as I want it. To resume, I am looking for something like this: width = computer.ScreenResolution.width; height = computer.ScreenResolution.height; Also... If I ever decide to start the game in FullScreen (Make the wind ...Show All

  • Visual FoxPro how can i restore a form that failed to load?

    it happens when i compile my project. "Error Loading file-record number 3. cursoradapter < or one of its members>. Methods: c:\myprogram\forms\solditem.SCT is not an object file" is there anyway we can restore it since if we copy from the original, and or make another d'same form from scratch it's a long process. Thank you I meant record #3 in your scx file. You should do something like this: -Take backup of .scx and .sct -Try a compiling and check if that works (that might be the only thing needed at times) compile form solditem.scx -If it doesn't work: use solditem.scx browse && check record#3 use It's hard to say what you're looking for but you might find some offending code in prop ...Show All

  • SQL Server SSIS Tutorial - Lesson 2 - ForEach problem

    I just completed Lesson 2. This lesson uses a ForEach component to process all the files in the ..\SampleData directory that match Currency_*.txt. My problem is that when I run the pkg, only the last file (Currency_VEB.txt) appears to be processing. The pkg is supposed to insert data in all txt files into the table. But, only the rows from Currency_VEB.txt are processed. Can anyone help me out here Did anyone else have this problem What could I have done wrong Any help would be appreciated. Thanks Get the latest version here: http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx Put some logic in your loops that write something to a table or file so that you can see ...Show All

  • Smart Device Development Treo 700w to Treo 700p

    Have any body converted an application from windows mobile 5.0 treo 700w to palm treo 700p. I have an application for windows mobile 5.0.This application consists of three c++ projects and on C# project. i.e. 1,A Service [c++ dll] 2,A today screen plugin [ c++ dll] 3,A messaging prject [c++ exe] 4, C# client project [exe] Now I also want's convert it for the treo 700p [palm os] What Can I do. Probably nothing, you'd need to rewrite your entire application from scratch. There's no way you can "convert" it, at best you can reuse some C++ code. In this case you can probably reuse nothing. Palm OS is single task OS, so no services. There’s also no "today" plug-in and no C#. Not sure what "messaging p ...Show All

  • .NET Development Transfering large volume of binary data through the wire

    Hi everyone, We have data reaching upto 100 MB.We are sending data in the form of byte[]. Which technology should we use in this case,for data transfer .I had used DCOM which was sufficiently faster.Both the server application and client windows application are written in .Net. (visual studio 2003 and .Net 1.1). we don't need to publish a webservice.Communication can be done through VPN. Remoting might not be useful in a scenario, where data reaches up to 100 MB,I don't know.Can we consider socket programming or should we stick to webservices. Any help would be appreciated. Thanks Abhi We use MTOM and WSE 30.0 to transfer large chunks of data to a webservice. The data is then assembled ...Show All

  • Visual Studio Team System Why workspace setting in Source Control Explorer and Pending Changes?

    Why workspace setting in Source Control Explorer and Pending Changes It seems this can end up being very confusing to users if they attempted to use more than one workspace, as if they are looking at source control explorer and expecting operations based on the workspace they set there, and then try to do an operation like unshelve they find it reports none of their files are mapped. They look at their workspace setting on source control explorer and it looks fine. (Turns out you need to change the one in pending changes to the right workspace). Seems that it is an edge case where you would ever want these to be different. Seems like they should be sync'd together by default at the very least and only unsync'd if I explicitly c ...Show All

  • Microsoft ISV Community Center Forums How to get the filename into the "Insert Picture" dialogue?

    Our company written a marco that used in MS Words and it as same as the "insert -> picture -> from file" dialogue, but we want to enhance it to get the filename automatically when the dialogue box is opened to instead of blank. Hi, Looks like the built-in dialog does not take a initial filename argument. You can change the folder using, Options.DefaultFilePath(wdPicturesPath) = "C:\" Instead try the Filedialog object. Dim dlgFile As FileDialog Set dlgFile = Application.FileDialog(msoFileDialogFilePicker) With dlgFile .Filters.Add "Images", "*.bmp; *.gif; *.jpg; *.jpeg", 1 .InitialFileName = "c:\temp\happy" .InitialView = msoFileDialogViewThu ...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. Ahh you must be using .NET 1.1. That example uses Generics which was introduced with v2.0. It enables you to strongly type a List. Easily solved for 1.1 by using an ArrayList instead. Process [] processes = Process .GetProcesses(); ArrayList windowHandles = new ArrayList (); foreach ( Process process in processes) { if (process.MainWindowTitle != string .Empty) { windowHandles.Add(process.Handle); } } Doing it this way you must cast the items in t ...Show All

  • Microsoft ISV Community Center Forums How to delete files ina directory with a certain pattern

    Hi, I am littel bit of knowledge on WMI and VB Scripts and i am looking to accomplish the following task on a Windows 2003 Server. - I need to scan a directory for files with a certain pattern, once i get the list, i need to delete all the files except the last iteration. Example:- Say the Dir is D:\Logs ; under that directory there will be files with the following pattern. D:\Logs\Trace.trs, D:\Logs\Trace_1.trs D:\Logs\Trace_2.trs D:\Logs\Trace_3.trs D:\Logs\Trace_4.trs D:\Logs\Trace_5.trs I want to delete all the files except [D:\Logs\Trace_5.trs]. - Srini. blackmamba wrote: hey, you could use dir to browse through files in d:\Logs directory and kill if a c ...Show All

  • Visual Basic Check/Compare datetime

    Hi All, I need help here. I have 2 fields in database table named Start Date and Expiry Date. How to compare both dates with current date so when I press a button, it will show the record that match the dates. For example No. | Start Date | Expiry Date | 1. | 1/03/2007 | 5/03/2007 | 2. | 9/03/2007 | 15/03/2007 | If the current date is 4/03/2007 it will show record no 1. If the current date is 10/03/2007 it will show record no 2. Thank you for the help... ...Show All

  • Visual C# How to set font and colour for different parts of the text of Controls?

    I want to have something like TreeNode node = new TreeNode(); node.Text = string1 + string2 + string3; and string1, string2, string3 must have different font and color. How can I do that Thank you. Trang Hi all: I have tried this method, we can add code in treeview's drawitem event private void treeview_Load( object sender, EventArgs e) { this .treeView1.Nodes.Add( new TreeNode ( "zbo" )); } private void treeView1_DrawNode( object sender, DrawTreeNodeEventArgs e) { Graphics g = e.Graphics; Rectangle r = e.Bounds; g.FillRectangle( new SolidBrush ( Color .Blue), r); string str = (( TreeView )sender).SelectedNode.Text; g.DrawString(str, new Font ( "Verdana" , ...Show All

  • Visual C# help with arrays

    I have an application where I have two arrays such as: string [] array1 = { "one" , "two" , "three" , "four" }; string [] array2 = { "two" , "four" , "six" }; I am hoping that C# offers an easy way to compare the two arrays and return an array of those elements that are different (in this case, I would have a three-element array containing the strings "one", "three" and "six"). In PHP, it's as simple as (I may have the function name wrong, but you get the idea) differentArray = array_diff(array1, array2); I don't want to code all of the logic myself and it seems like a basic and useful enough function to be part ...Show All

©2008 Software Development Network