William Bartholomew's Q&A profile
Visual Studio Express Editions How do I hide a form?
I am looking to create a simple program that pops up a balloon on startup. What I want to do is hide the form1 that is created. How do I do it I can use the notifyicon for displaying the balloon no problem. Try this Private Sub Form1_VisibleChanged( ByVal sender As Object , ByVal e As System.EventArgs) Handles Me .VisibleChanged Me .Hide() End Sub or Private Sub Form1_VisibleChanged( ByVal sender As Object , ByVal e As System.EventArgs) Handles Me .VisibleChanged Me . Visible = false End Sub ...Show All
Windows Live Developer Forums How to use Windows media Encoder SDK
Hi, I want to create the chat application.. in that I did the text chat. I want to do Video and audio chat.. I downloaded the Windows Media Encoder SDK and I have installed Windows media Encoder. In this Windows Media Encoder SDK they have given one Predefined Interface and It's working fine.. My problem is... using this SDK how to create video and audio chat in my GUI then, Is it possible to connect more than one client to that machine which is encoding the live video from then web cam Thanks in advance ...Show All
SQL Server SQL 2005 PARTITION TABLE : HOW TO DELETE THE function and schema that i have already created ?
Now i am testing partition table. i have already create function and schema , follow : cREATE PARTITION FUNCTION addtimePF5(datetime) AS RANGE right FOR VALUES ( '20060801' ) 3 CREATE PARTITION SCHEME addtimePS5 AS PARTITION addtimePF5 TO ([200608],[200608]) function name is addtimepf5 ,schema name is addtimeps5. i want test again ,when a input the same sentence, the error : 消息 2714, 16, 58,第 1 行 据 中已存在名 'addtimePF5' 的 象。 (system already have the object:addtimePF5. I want to know ,where is the objects (function and schema ) stored i will delete them and test again . thank! You can view these objects by querying the sys.partition_function and sy ...Show All
.NET Development How To Get Previous node Value
Hi I have the following xml <TestRequests> <TestRequest> <Category>Hem</Category> </TestRequest> <TestRequest> <Category>Allergen</Category> </TestRequest> </TestRequests> using <xsl:for-each> to loop thu the TestRequest node, how to retrieve the previous category name (i.e Hem) when i am currently processing with Category 'Allergen' Regards Gururaja Thanks for your reply , could you give the syntax to retrieve the particular element value (in this case category) ...Show All
Game Technologies: DirectX, XNA, XACT, etc. [GDI+] Getting the "reverse" matrix of a Transformation
Hey folks. I have a rectangle, transformed by a given Matrix. I want to get a matrix object that after transforming the new rectangle with it - would generate the "original" rectangle. How can it be done (Specifically - I'm working with VG.NET vector graphics library , so if you know of any shortcuts I can use from there - please feel free to share ). Ariel You have the Invert method and the IsInvertible property on the Matrix class: http://msdn2.microsoft.com/en-us/library/system.drawing.drawing2d.matrix.isinvertible.aspx http://msdn2.microsoft.com/en-us/library/system.drawing.drawing2d.matrix.invert.aspx ...Show All
Commerce Server Custom Pipeline Component Question
This should be pretty basic, but I am thinking of writing a custom checkout component that will do the following task: When a basket is made into an order, each line item's status will be calculated based on some custom properties that exist in the Catalog for the product associated with the line item. We are also creating a status history table which is custom and contains the LineItemID (Guid) that will be a foreign key to the LineItems table in the Transactions database. Here's my question. Is this something that the custom pipeline component should do I would like my custom component to be added to the Checkout pipeline and do the following: here's some pseudo Foreach(LineItem) { Get Product info Calculate Product field ...Show All
Visual C++ Check existence of tables and fields
In a console C++/CLI app, I would like to check for existence of specific tables and fields. Which .Net classes and methods should I be using FYI: I've successfully open a connection to a MS Access database as below: ////////// OleDbConnection^ conn = gcnew OleDbConnection; conn->ConnectionString = <db conn string> ////////// There are newsgroups and forums that deal with .NET and database programming. If you have a question specific to the C++ language then you can come here. Thanks, Brian OTP ...Show All
Microsoft ISV Community Center Forums Automatic Fill-in Form in Word
I would like to create a form in word with four questions on it with a field for answer under each question. But I would like to have a macro that becomes active when the form is opened. The macro should pop-up a mini window with question 1, 2, 3, 4 in order (but one question per window at a time) and should have a field for inputting the answer. Up on entering each answer in the pop-up window, the macro should automatically populate the Form with the correct font etc.. Any and All help will be greatly appreciated. I am sure it will be a piece of Cake for most of you. JJ Hi JJ Try this for a solution ... Create your form, including a help k ...Show All
Visual Studio Group Header that doesn't wrap?
I have created a report using ReportViewer with Visual Web Developer Express 2005. Everything looks great except for the Group Header title, which in many cases is much wider than the first column in my report. If I keep my first column width fixed, the Group Header wraps and looks ugly. If I allow the column to expand, I lose a lot of real estate in my first column. Is there a way to span a Group Header across several columns Thanks in advance, Kris. ...Show All
.NET Development How to Manage Transactions
Hello, I have 2 different class.Each of them inserts 1 Row in 2 different Tables in my DataBase. Means Class 1 inserts 1 Row in Table 1, and class 2 inserts a row in Table 2. Now I want both of the queries must be fired. If single query is failed to insert row there should not be the effect of other. So I need to User Transaction with my Connection Object. But how to Use it when my Both classes are Different. And I can not mix both queries into one class as per the structrural design of my Application Thank U..... examples: 1. source from MSDN using (TransactionScope ts = new TransactionScope()) { //Create and open the SQL connection. The work done on this connection will be a part ...Show All
Smart Device Development Using modem for data connection
Hi, I established a data modem connection using TAPI ( http://msdn.microsoft.com/library/default.asp url=/library/en-us/wcetapi/html/cmconsampletspsourcefile.asp ) Now I want to send and receive data, but I can't find any function. I have a pointer to established call, pointer to opened line, but I don't know how to use it. Can someone help me (program is written in c# and run on WM5) Thanks Ivana I would try opening GSM modem as serial port and connect by using applicable AT commands without using TAPI. AT command should be in your modem documentation. By the way, GSM modems are tricky; you might need special SIM card to do that. I would suggest calling your carrier for help. ...Show All
Visual Studio Express Editions message box show without stopping program
In a console application. Is there a way to display a message box that does not stop the execution of the program the sleep statement is there only to make sure that I see the form before the program ends. I only have one label on the form, the one with the relevant message ...Show All
Visual C++ Get Edit Box key pressed in Dialog's Timer event....
Hi I want to do s simple task but it is creating a problem for me. I have one Edit Box in my T_Diag_WinDlg.cpp file. I have created Initials.cpp and Initials.h file to get a pressed character value. I can get that character in CInitials::OnChar(UINT nChar, UINT nRepCnt, UINT nFlags) method. But I want to retrive this character in my dialog form i.e. T_Diag_WinDlg.cpp 's Timer Event . Along with that character I also want some notification in my timer event in T_Diag_WinDlg.cpp file that key is pressed. I tried to declare a global variable at different files Initials.h, then T_Diag_Win.h (Main App Form). But it is giving some error. In short, is there any way I can get the key pressed in Edit Box to my Timer Event funct ...Show All
Commerce Server Guidelines for Marketing Reports
Hello, I'm using CS2007 to serve banners on a website. I'm looking for some guidelines to provide my client advertising statistics, mostly concerning Ad Requests. I already setup a SQL Server 2005 Report Server, but i can't get any info on how to configure it to get the CS2007 banner information. Any help will be greatly apreciated. Thanks. Jorge, You might also consider watching the TechNet webcast covering this topic, as it walks through how to set up some additional tasks (such as click-thru capture). http://www.microsoft.com/technet/prodtechnol/comm/2007/webcasts.mspx It's the second one on the page. ...Show All
SQL Server Analysis Services 2005 Deployment Wizard
I am working with SQL server 2005 analysis and reporting services. I am instructed to create a cube for a database using analysis services and then replicate it so as to produce reports online by reporting services when requested by clients. I am able to create the cube and also deploy the report made, in HTTP separately. But the following doubts arise during the Cube deployment: The Cube was created as per the requirements by my team lead. Then I used the deployment wizard in the analysis services 2005 to convert it into XML script. Using the SQL Management Studio I opened it as Analysis Server scripts and used the local host as the system in the connections windows then loaded the XML script into the Queries window as a XMLA query and ex ...Show All
