gudel's Q&A profile
Visual Basic Problem starting word from vb.net
Hi All I have an application that needs to open word files. When the application opens the word file the word window does not pop up (I see it on the task bar but need to click the icon there in order for the word to be brought to front). After I do that, I see that word has opened the file I requested it to but the word window hangs. "Hangs" mean I can not open any menu items such as "File", "Edit" etc but I can write anything in the file it self. The hanging keeps for a while and then releases. The hanging also releases if I do ctrl+alt+del and then close the "task manager" window. By the way when the word hangs the task manager window does not show any special activity i.e. the idle process ...Show All
Visual Studio Express Editions 1 If Statment to run only?
Here is the code i made: Private Sub Button2_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click If Button2.Text = "Summit" Then Button2.Text = "Reset" End If If Button2.Text = "Reset" Then Button2.Text = "Summit" End If End Sub the problem with that is that once you click summit it makes the button say reset then the second if makes it back to summit when i want it to stay on reset please help me, i dont know any other commands that would fix this... If you want it sat Reset permanently..... remove this: If Button2.Text = "Reset" Then Button2.Text = "Summit" ...Show All
Windows Forms Auto update
Hi I have 2 application whre i set it to auto update, its works fine if i install them from my publish files. But if i install the appliction from a msi file the auto update dosn't work regards Alvin Hi Yes i have try that, but then i can't set the application to allusers if i could in my application say that it should install to allusers or defaultuser regards Alvin ...Show All
SQL Server Serialize identical package execution across machines?
Identical packages are running on 5 different machines (for load balancing reasons). Most of the time, this parallelism is desired. However, for certain packages, there is a need to serialize task execution across all machines, but I'm not sure how to do so reliably. For example, 1. Package A starts on machine 1, gets "cross machine package token" in a "wait for token task" and proceeds, and whether it succeeds, fails, or dumps core, releases the token. 2. Package A starts on machine 2 at ~ same time, sees the token is not available, and waits until the token is available in a "wait for token task". Perhaps a "RetainSameConnection" solution using a db lock ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Game and GameComponent Feedback
We've been combing the forums and the Connect database for bugs, feedback and suggestions around the application model. We still have a small amount of time to consider any other feedback you may have. So this is the thread that you post your latest likes or dislikes with Game, GameComponent, services, etc. Please scan the other threads before posting here, I'd like to just gather things that haven't already been discussed or reported elsewhere. Thanks! Matute wrote: Let us take the example from ASP - Asp.Net, before were not used components, now that exist components that application of the real world does not use them Apples and oranges - one has a simple and well defined problem domain (HTML), the other does ...Show All
Windows Live Developer Forums Drive To / Drive From in Pushpin Menu
I was wondering if anyone knows the javascript code to add a link for "Drive To" and "Drive From" into a pushpin menu Thanks in advance! This really isn't too hard: In the description field for the pushpin, add your HTML to show a Drive To and Drive From link. Each link fires an event. That event gets the LatLong of the pushpin and stores it as a global variable. Then, when the user requests a route, the two globals (start and end) are passed to GetRoute(). I'll try to get some pseudo code up here later, but there's nothing too tricky. Give it a try, and if its not working for you, post up the specific problem(s) you are seeing. ...Show All
Smart Device Development DEploy pocket PC program
How can I deploy pocket PC program I made one by C# but I fail to make a deply program or cap file I have many picture in that program so how could I ceparate between the program and the images and how can I deply .net compact frame work with the cab file Hi Hamdi, As Ilya said, it is a very big number of images to add to your project cab file in a mobile application!! try reduce it, and you can add them later to a resource file, or placing them in a directory in your solution, and add it to your cab project as resources. Note: i don't think i know you, but if you think you know me, think hard from where and tell me. Regards, If this post was helpfull, please press "Yes". Ahmed H. Waly ...Show All
Visual C# Simple Form writting to a csv file.
Ok to all of you windows CSharp Gurus...... I have a simple form that I want to write to a csv file in a hand held scanner device. In the on Submit I am not sure what to write in order to create the CSV for the given data that is in the form. any help will be of great assistance. Thanks in advance. -------------------------------------------------------------------------------------- using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using PsionTeklogix.Barcode; using PsionTeklogix.Barcode.ScannerServices; ...Show All
Visual C++ Problem with C++ exercise
The exercise says: ( Employee Class ) Create a class called Employee that includes three pieces of information as data members--a first name (type string), a last name (type string) and a monthly salary (type int). Your class should have a constructor that initializes the three data members. Provide a set and a get function for each data member. If the monthly salary is not positive, set it to 0. Write a test program that demonstrates class Employee's capabilities. Create two Employee objects and display each object's yearly salary . Then give each Employee a 10 percent raise and display each Employee's yearly salary again. I need to know if I am heading in the right direction so here is what I have so far: // ex3.14.cpp : Def ...Show All
Visual Studio Customized Shape
Hi all, I'm doing DSL project about Image Processing Graph Editor right now. My question is just simple, can I make a drop-down list for a property in the geometry shape Cheers, Herru You need to create a new class, which derives from ShapeField and override the EditValue method(s). There you need to instantiate your Combobox, place it on the DiagramClientView and show it. This only takes place, when the shape field has focus of course. You can use System.Windows.Forms for the ComboBox itself. Michael ...Show All
Visual Basic Can a group box (or panel) with radio buttons be data bind?
I have an 'integer' data field "ColorCode" in a table "Colors". Its values are limited to the following (not necessary consecutive): 11 - Red 22 - Blue 33 - Yellow 44 - Green Can I do the following 1. Create a group box (or panel) 2. Create four radio buttons for the colors 3. Bind the group box to ColorCode field If I select/check the Yellow button, 33 will be stored in the ColorCode field. Or if the value of ColorCode field is 22, the Blue radio button will be selected/checked. How Pls Help... Larry Sevilla VB2005 Novice User Maybe this article may help http://msdn.microsoft.com/msdnmag/issues/04/07/AdvancedBasics/ Or you can change it to use a combobox which allows one to b ...Show All
Visual Studio crystal report
hi first time with crystal report with visual studio 8, using vb2005, and ms access database. 1. i added about 8 crystal report to my project from solution explorer by add > new>crystal report and every thing working fine. 2. when i publish the project as one touch, my project work fine, the data updated with every add, delete,update but the crystal report. so when i add customer, show up in the datagrid and in the main form and kept their, but when i open customer crystal report not their. 3. i tried to modify the connection to database to bin-release-data base nothing working , i do not know what to do. if any one has a solution to that, please let me know. thank you ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Animating Billboards Using A Single Texture
I just finished a basic billboard class that is capable of reading in multiple textures and animating. However, I would like to read in a single texture file and be able to simply change texture coordinates to change the appearance of the billboard. Now, I could recreate my VertexBuffer each frame, but that would be a lot of wasted processing. Is there a way to dynamically alter the texture coordinates for VertexBuffer objects each frame Edit: As a bonus question, how do I enable the alpha channels in my textures Right now it shows up white. I am using the BasicEffect. Would I have to write my own effect just for that Seems rather silly but I will if I have to. Edit 2: As bonus question 2, how can I disable antialiasing of my textures I'm ...Show All
Game Technologies: DirectX, XNA, XACT, etc. PIX, DX10 and Render to Texture
Does PIX support DX10 properly i need to link dx9 libs to get pix support which makes me think its not. Secondly, pix does give me some information when i do a capture, how ever now that i've implemented some more render to texture goodness, pix doesnt capture a whole frame, it only captures till i unbind the first render texture, anything i can do do some how get it to capture a whole frame Hi, PIX supports D3D10, though it is a newer codebase and may be less stable than D3D9 support. To use the D3DPERF APIs in a D3D10 app, you currently need to link to d3d9.lib and #include d3d9.h. If you don't use user events/markers from your app, you shouldn't need this D3D9 dependency. Can you clarify what ...Show All
Visual Studio 2008 (Pre-release) Error displaying xaml files in the browser...
Netters, After .NET 3.0 is installed, my understanding is that a XAML file could be used within IE just as an HTML file. Here is my simple "Hello World" xaml content, copied straight from WPF SDK and pasted in a text file: <Window Xmlns=" http://schemas.microsoft.com/winfx/2006/xaml/presentation "> <Button>Hello, XAML!</Button> </Window> When I browse this file from IE 7.0, XAML Viewer gets loaded as expected. However, it throws the following exception: System.Windows.Markup.XamlParseException: '' XML namespace prefix does not map to a namespace URI, so cannot resolve property 'Xmlns'. Line '2' Position '1'. at System.Windows.Markup.XamlReaderHelper.Read(XamlNode& xamlN ...Show All
