NormM's Q&A profile
Visual Studio Express Editions Cannot create new projects
whenever I try to create a new project, the process (Creation) is failing. It appears a msgbox (vbcritical): "Absolute path information is required." importent informations: - OS: Win XP professional - no other releases installed before is there a option I didn't find until yet I only wish to create a new application. Please, can anybody help me ! I'd be thankful for each answer or idea. Hi Huy, thanx for your support. VB is working fine now, after I checked out unsuccessfully a lot of different possibilities. Finally, last way I imagined: 1. reinstall everything that belongs together with VS 2005 like Visual bas ...Show All
Visual Studio 2008 (Pre-release) ObjectDataProvider.ConstructorParameters and Feb CTP
Hi everybody, I'm trying to use ObjectDataProvider.ConstructorParameters but it doens't appear in Visual Studio, in intellisense. Here is my code: <Window x:Class="DemosWPF.Window1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="DemosWPF" Height="768" Width="1024" WindowStartupLocation="CenterScreen" xmlns:l="clr-namespace:VideoCarousel" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:m="clr-namespace:DemosWPF" &nbs ...Show All
Software Development for Windows Vista Activity's Property Does Not Appear In The Properties Window
Hi, I developed an activity in 2 phases. After 1st phase I used the activity in the Sequential Workflow and everything was OK: all the properties of the activity were exposed in the properties grid in studio. In phase 2, I added one more property to the activity class, compiled and expected to see it in the property grid, but it didn't appear. Any ideas If you mean the property is not showing up on the instance that was already added to the workflow, this can happen sometimes. Usually it will appear after switching to another activity and back or closing and reopening the workflow. If ...Show All
SQL Server check what table are lock by application
Dear All, Sometimes the application cannot write record into SQL Server, but the source code of this application cannot be seen. Therefore, I wanna verify the MSSQL status. I have to check what table are locked by application. I wanna know the following information. locked_table, locked_by_application, locked_status Can I write some t-sql to get the information I tried using Profiler, but it generates some useless information. Could you give me some suggestions Alex Lock granularity is much wider than only a tables. That's for the first. Second is that SQL Server doesn't require any information a ...Show All
Visual Basic httpwebresponse not support arabic language !!!!
I have to useing httpwebresponse for two pages, One is jsp and other asp. the charset is UTF-8 for both of them, while reading for jsp the arabic character are readed but in asp are not readed it come as spaces In asp page I use that code <%response,charset="UTF-8"%> what is the problem Try to URL Encode the Arabic parameters before you pass them from one page to the other. In ASP.NET you can use: Server.URLEncode("ArabicText"); ...Show All
Visual C++ Linking problems using Visual Studio.net 2003
I have written a program that needs to use DirectX libraries. I am using Visual C++.net 2003. I have compiled it successfully. When I go to "Debug" on the menu bar, down to "start", it says that these project configurations are out of date and would you like to build them. I click "yes" and it comes up with linking errors: Linking... draw.obj : error LNK2019: unresolved external symbol _D3DXCreateTextureFromFileA@12 referenced in function "int __cdecl DoInit(void)" ( DoInit@@YAHXZ ) it gives other LNK2019 errors and one LNK1120 error: Debug/Draw.exe : fatal error LNK 1120: 6 unresolved exte ...Show All
Visual J# Creating a Dataset - by dragging table from MYSQL database
With Oracle database, I used to be able to create a dataset by making a database connection in the server explorer and dropping the table onto the dataset designer view. Can you advise if the same would work for MySql database and how. I get the foll error : Mouse drag opertaion failed. The table, view or table-valued function named ''parts'..'PO_mast'' could not be found. Foll. is the error if I try to add a Table Adapter using the wizard, when I hit Finish. An unexpected error has occured. Error Message: Object reference not set to an instance of an object. thanks.. Hi, I was trying it for J# only. I tri ...Show All
Windows Forms Office-style buttons
Hi, I'm making an application which I want to have Office-style buttons on (actually, Visual Studio has the same kind of buttons). There is a drop shadow on hover, the buttons look flat and have a highlight box around them when you roll-over. Can anyone tell me where to start with this I've tried virtually everything I can think of but to no avai ...Show All
Visual Studio Supressing a textbox during print (or export)
I have a text box used to toggle the visiblity of a table - I have had to call it "hide/show blah" I would firstly like to be able to hide this textbox on a printed report (since I will be telling users to export to pdf then printing - just hiding it on the export would suffice). Secondly is there any way to change the name of this textbox depending upon the visibility of the object it controls Thanks in advance Ross ...Show All
Visual C++ How to do copying files?
Hi, I am writing an MFC program that can copy files (let's say: *.chm) from one directory to another by using API. Any idea Thanks. vcboy Hello vcboy, You can check out Boost.filesystem library which provide many operations on files and directories. file:///D:/Downloaded/3D%20Programming%20Related/c++Libs/boost_1_33_1/libs/filesystem/doc/operations.htm#copy_file Good luck. ...Show All
Software Development for Windows Vista Problem registering COM objects
These problems are unique to Vista. Problem 1: We are having an issue with recent Vista beta. Some of our existing applications are not installing properly. When COM objects are registered, the registry entry for 'InProcServer32' is left blank. Usually, this would have the path\filename of the COM object that was being registered. Any ideas why the registry is not getting properly set Problem 2: With regards to #1 above, our apps have a seperate manifest file, and one version works without COM objects properly registered, but the other does not. How can we diagnose problems with manifests Thanks, David ...Show All
Visual Basic Populating a Data Grid
In VB 2005 Express Edition, how do I populate a data grid on my form. The database I am using is MS Access. I have a total of 14 tables. Hi, This code works in VB 2005 Express Edition. 'Imports System.Data.OleDb Private Sub PopulateGrid() Dim oCon As OleDbConnection Dim oCommand as OleDbCommand oCon = new OleDbConnection("Provider=Microsoft.Jet.OleDB.4.0;Data Source=C:\sample.mdb") oCon.Open() oCommand = new OleDbCommand("Select * from dbo_Advances",oCon); Dim oAdpt As New OleDbDataAdapte ...Show All
.NET Development Two values behave as one
Hi to all! I wonder, is there a datastracture, or perhaps a method, which supports that the combination of two values behaves as one. For instance, two values: a and b. Combined: ab or ba that are represented in a same way. Kind regards, Nele I'm not sure what you are asking. ab and ba would be new variables. You can do string ab = a + b; is that what you mean ...Show All
Visual Basic Where are the Navigate Backward and Forward buttons in VS2005 VB Text Editor?
Hi guys, Does anybody know the answer on this stupid question I get used to click on these buttons in VS2003. It was quite comfortable to get back when I 'Go to Definition'. Now, in VS2005, I have to remember from what place I jumped to Definition in order to get back. I've ticked off the Tools->Options->Text Editor->All languages->General->Navigation Bar checkbox but it didn't help. Cheers, B7 it would be great if you had a Navigate Back option on the context menu, like VB had "Last Position" ...Show All
.NET Development Data Binding error!
Hi Everyone, Why the application rasing error: "Dynamic SQL generation is not supported against multiple base table." while executing SqlDataAdapter What mistake I am doing Can anybody help Thanks in Advance, Jose Jose, Rather than use the SqlCommandBuilder to generate your update logic at run-time, you can set the SqlDataAdapter's InsertCommand, UpdateCommand and DeleteCommand to call your stored procedures as David showed in his previous post. This will allow you to submit the pending changes from your DataSet to your database by calling SqlDataAdapter.Update. I hope this information proves helpful. David Sceppa ADO.NET P ...Show All
