HelpMePl0x's Q&A profile
Visual C++ Windows Form Application in vc++
Hi All, We are developing an application using Visual studio 2005 vc++.net.We have a header file in which some variables declared as DWORD,CALLBACK,BYTE etc We are building form based application in VC++,neither WIndows32 project nor MFC application.If we are using WIndows32 project or MFC application that header file works fine.But problem is when we are building form based application in VC++ using that header file.How to solve this problem. for example: typedef void ( CALLBACK *CONTROL_DATA_CALLBACK )( DWORD UserParam, DWORD dwDataType, BYTE* buf, DWORD len ) HWND hWnd; RECT rect; time_t tBeginTime; ULONGLONG FileSize; HANDLE TimeCodeEvent; void* pImage; DLL_API DWORD KLErr( HANDLE h ); We are get ...Show All
Visual Basic How do I print multiple tif files from an excel list?
Hello, I tried the code below to make a program loop through and print every tif file in a specific folder. It seems to do that just fine, however, most of the time I need to print files that are not in numerical order. Is there a way to create a list of the drawings in excel and have the program loop through and print the drawings in the order listed This would be a GREAT help, thank you, jordan Imports System.Drawing Imports System.Drawing.Printing Imports System.Collections.ObjectModel Public Class Form1 Dim myCounter = 0 Dim files As ReadOnlyCollection( Of String ) = My .Computer.FileSystem.GetFiles( "H:\My Documents\Desktop\Drawings\" ) Dim NumOfFiles = files.Count Priva ...Show All
Visual Studio Express Editions Changing
I made a simple class exposing a strong typed data table and a row of the same table. I then add a data source mapping the class and I can see the table and row details in the data source window. If I remove the property exposing the data row, I no longer see the fields in the data dable. Why The code below assumes you have created a strong typed dataset for an access database with a table called MYTABLE using vb2005 wizard with only default choices.The class as it is does obviously nothing, it is useful only to exemplify the problem. Public Class Class3 Private myData As New dsMYDATABASE.MYTABLEDataTable Private myValues As dsMYDATABASE.MYTABLERow Public Sub New() End Sub Public Property DataTable() As dsMYDATABAS ...Show All
SQL Server Where is Query Analyzer in SQL Express?
I know that SQL Express includes a similar tool like Query Analyzer in the SQL Management Tool but I just can't find it. Would anyone kindly point it out please When you open Management Studio Express you can create a New Query a number of different ways. New Query is akin to Query Analyzer. Regards, Mike Wachal SQL Express team ---- Mark the best posts as Answers! ...Show All
Smart Device Development where to get the Intel Pro100 driver for WinCE 5.0?
hi there, i'm in need of a driver for an Intel Pro100 based network card for Windows CE 5.0. as i read on a site of the Embedded Developer Center [http://msdn.microsoft.com/embedded/usewinemb/ce/drivers/supdrivers/default.aspx#LAN] it should be included "in-the-box" whithin Platform Builder 5.0 but i can't find a way to add the driver to my image as i can't find the driver listed in my catalog. i searched the 3rd party tools disk of my CE 5.0 eval package but i can't find the driver there, neither. can someone please supply me with information on how to get the nic driver installed, loaded and added to my image thank you in advance and have a nice day. bernd ...Show All
Visual Studio Team System Filter Bissubscribe on Files during CheckinEvent
I'de like to add a filter on Files for a subscription to CheckinEvent (as mentionned in the VS2005 - June SDK, Team Foundation Eventing Service .doc ) but it does not work (TF50304 error). Is there a mistake Thanks for your help Laurent Due to the way the event is written, the way to filter checkins based on folders is to do the following: 'Artifacts/Artifact[starts-with(@ServerItem, "$/MyProject/MyFolder/")]' <> NULL OR 'Artifacts/Artifact[starts-with(@ServerItem, "$/MyProject/MyOtherFolder/")]' <> NULL Assuming the folders of interest are $/MyProject/MyFolder and $/MyProject/MyOtherFolder. You could add more folders too by adding additional li ...Show All
Visual Basic How do I copy bitmap data to a buffer?
I have an application that displays some images using PictureBox. There is a requirement to toggle between colour and monochrome or grey-scale versions of the image, so I've created a class derived from PictureBox that contains extra bitmaps that hold the various versions of the image, and then when the user switches between them, I just assign the relevant bitmap to the PictureBox. When the image is first loaded, the application generates the monochrome and grey-scale versions from the loaded colour version. This is where the problem lies. For each version of the image, I make a clone of the original, and then loop through X and Y, using GetPixel and SetPixel to change the colour based on a conversion formula. That also works ok, b ...Show All
Smart Device Development a deployment question :)
Our application has some configuration values (server IP and server port). Until now, those parameters were set in the cab project that wrapped the exe with other resources. The process above was done by a programmer, but now we want to give this task to a non-programmer (which means that he/she doesn’t have VS installed on his/her machine). Is there a nice & clean way to make a CAB without the need to install VS (just to make the cab project..) Oren You can use cabwiz.exe to create a CAB file for your PPC devices. See MSDN article here http://msdn2.microsoft.com/en-us/library/aa458948.aspx Manav ...Show All
SQL Server TableAdapter Insert with Try/Catch
Hi Guys, In ASP.NET 2, I have a webpage which uses the EditView control with an ObjectDataSource. Within the "Insert" functionality of the EditView control, I want to be able to trap the error if the user attempts to create a new record with an existing key. As the "insert" functionality is handled by the control, I can't see how to encapsulate it within a Try/Catch. I suspect it's got something to do with the "Update" button within the EditView "Insert" template, but am at a loss. Can anyone help Further to above: I've determined that I can create code for the "Inserted" method to determine if there was an error during the Insert ...Show All
Smart Device Development Protocol Violation Exception for httpWebrequest
hi all, I am trying to send the set of datas to the server in the RequestStream.But i m getting error of protocolviolation exception.Code i m using is:: HttpWebRequest httpReq; HttpWebResponse httpResp; Stream httpStream; string ServiceInfo = "Uploads/1.0 "; try { ServiceInfo += DeviceInfo(); ASCIIEncoding ASCII = new ASCIIEncoding(); Uri l_uri = new Uri("http://or2.inamobile.co.uk/inamobile/xml"); httpReq = (HttpWebRequest)WebRequest.Create(l_uri); httpReq.AllowWriteStreamBuffering = true; httpReq.SendChunked = true; httpReq.Method = "POST"; httpReq.Timeout = 60000; httpReq.ContentType ...Show All
Visual Studio Express Editions Visual Studio Express C#
I'm downloading the Visual C# 2005 Express Edition. The Setup screen says "Setup is loading installation compentes. This may take a minute or two.". Three quaters of the way it just stays there and it never completes. I tried to manually set the BITS that did not make a difference. It never completes the down load. Any suggestions Thanks, Kimberley Hi, I suggest that you use an alternative way to get your setup working. You can download an .img or .iso file, which gets downloaded as one physical file (approx 430MB) and then burn it into a CD. All instructions about how this can be done, along with the .img and .iso download links are present at : http://msdn.microsoft.com/vstudio/express/support/install/ ...Show All
Visual Studio Express Editions grrrr - registering
For some reason the registration page says my email address is invalid so i can't get the key, but its the same one i logged on with. Help Thanks!! good point lucas, i edited my profile on the page you specified, tried again the registration and it works! there is probably some missing part in the web visual studio registration ...Show All
.NET Development Windows Update and the .NET FW 3.0
Hi All, Does anyone know if and when the .NET FW 3.0 will be pushed out to Win XP users via windows update I seem to recall that's what was done when .NET FW 2.0 was released but I haven't seen the FW 3.0 available via windows update yet. Anybody know whats up with that Thanks in advance, Andy Hi, I meant, will it ever automatically be pushed out via the windows updates Kind of like security patches and so forth--those are automatically pushed out to the end-users if they've set their automatic updates to lookup and/or automatically download and/or install updates. I'm just curious. -Andy ...Show All
Visual Basic Fill a combox with DataReader
Hello. A question please. I know I can fill a combobox with a datatable, is there a way to fill it with the information of a Datareader Hi NetPochi try this: While DataReader.Read ComboBox1.items.add(DataReader.GetValue(x).ToString) End While Dave ...Show All
Software Development for Windows Vista DirectShow within Direct3D render loop
I am developing a 2D/3D interface using Direct3D. I am trying to also include a video window within the interface to display live TV from a tuner card. I am using VMR9. The problem I have is that the video is flickering, seemingly caused by the drawing loop. After I call D3D Present(), I have to tell the VMR9 window to repaint itself using RepaintVideo(), otherwise the video does not show at all. I am very new to DirectShow and any help would be greatly appreciated. Thanks. Great, how do I specify a clipping region on a 2D interface. For example, I don't want anything to draw in RECT(100,50,420,290). ...Show All
