VolkerWill's Q&A profile
Visual Studio Express Editions modifying control properties !!
when I create a simple form application project in vc++ express I have these two files created by default, form1.h & project_name.cpp now suppose i add a text box in form1 I'm not able to change the properties like text of this textbox from anywhere else other then form1.h (say if i want to change properties from this file project_name.cpp) its a very basic doubt but I've done evrything from making textbox public to anything wierd possible :( tia -- Check our your previous post at http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=300060&SiteID=1 Thanks, Ayman Shoukry VC++ Team ...Show All
Visual Basic creating a text object
Is there a way to create a text object By putting [ and ] you can escape the name between them. In this case, since string is a built in keyword in Visual Basic .NET, the compiler would have treated it as the keyword string instead of the type name String. In this particular case (assuming that you are Importing the System namespace) they just happen to mean the same thing (a string in Visual Basic maps to the System.String class in the .NET framework. For a more informative example, see: http://msdn.microsoft.com/library/default.asp url=/library/en-us/vbls7/html/vblrfvbspec2_2.asp Best regards ...Show All
SQL Server URGENT:spsbackup.exe gives logon errors
I am trying to Sharepoint Portal server with sql2005 on the normal everyday transactions everything works fine. However when we try to run SPS restore cannot we keep getting this error. This is VERY URGENT as we are trying to deploy a new site but cannot until issue is resolved. 'TWIG\Administrator' has already been given dbowner rights to all databases and can run backup but not restore. Error Message: Login failed for user 'TWIG\Administrator'. [CLIENT: 192.168.1.8] Surely someone has tried this these are two very popular applications but unfortunately there is nothing in the sps site or sql2005 to help with this issue ...Show All
SQL Server Updating database workflow question
hi, i have a simple database. to test it i have the database locally and i have the same database in the server. currently when i update the database i copy the whole database (mdf file including the data) to the server. i would like to copy only the tables and not the data to the server. what is the best and easiest way to do it regards, rnv Hi Rnv, SQL Server 2000 2005 2005 CTP Anyone offering additional feedback, please do so; I've been doing this for about 2 years. I typically save a full backup (.bak) [ example is 2005 CTP]: Right-Click the database --> Backup General --> Destination --> ...Show All
.NET Development Invalid character value for cast specification.
Hi all, I am runing SQL Server 2000, Windows 2003, and doing this in C# on .Net Framework 2.0. I have the SQL Statement: insert into test_table (col_1) values ( ) OleDbParameter Value = 65788 OleDb Data Type is OleDbType .Numeric col_1 has a data type of Numeric(18,0) But I keep getting this error message: Invalid character value for cast specification. The same procedure works for all column type available on SQL Server 2000, and I have created a test table that contains every available column on SQL Server 2000, and all works except OleDbType .Numeric and OleDbType .Decimal. I have also tested the sa ...Show All
Windows Forms Opening new IE windows
When I open a new window in IE 6.0 sp2, I want the window to open full size (maximized, not full screen, like you get from pressing f11). I would appreciate any help with this. I was able to open new windows before like this, but somehow it is not doing so anymore. Anyone got any ideas what I can do, and please explain it so I can understand Thank you If you opening the windows from code then you can pass extra parameters to the Process.Start that indicate how the initial window should be sized. In that case provide the maximized flag. Phil Wright http://www.componentfactory.com Free user interf ...Show All
.NET Development Installing .. advpack.dll
Not sure if this is where to put this question but I can't find anything else on these forums (shrug ). I'm trying to install the 2.0 redistribution package and get an error with c:\windows\system32\advpack.dll when trying to install. Any suggestions The reason I'm looking to install it is because I have an application that requires it. Maybe I actually need something different Ugh. lol Has anyone giving an answer for this question yet...I also have this problem..I'm trying to install the 64-bit version of Microsoft .NET Framework 2.0 . I get error error creating process <C:\DOCUME~1\Hom ...Show All
Visual Studio Express Editions from .exe back to code
I'm new in charge of the development of my IT department, I have to take over my predecesor work, ufortunately he deleted all codes and left only executables. My question is, how can I convert back from .exe to VB6 code your help will be realy apreciated. Gabriel R. Parra Softtek Support Team (PS, IT) Softtek Integration Systems, Inc. c/o GE Energy OSM Support Team 24 x 7 Phone (678) 844-7436 Dialcom *421-7436 Group phone: (678) 844-6067 Location: 4200 1-13C-03. Wildwood Pkwy Atlanta, GA, 30339 I have never tried to recover deleted files from a computer, how can I do that It will save me a lot of w ...Show All
SQL Server CLR Enabled
Can anyone tell me what this means and how to fix it I created a stored procedure in VS2005 and did a build. When I went to SQL Server there was the stored procedure but when I run it I get the error.... Execution of user code in the .NET Framework is disabled. Enable "clr enabled" configuration option I changed the 'clr enabled' property to 1 using sp_configure but I still get this error. Thanks Mike This works very well! But if I change the .Net application, adds new methods etc. how do I tell the MS SQL Server about the new features, without dropping and adding the assembly ...Show All
SQL Server What is the performance difference between using varchar fields of vastly different sizes?
I was wondering what the performance diffeneces/issues there are between using varchar fields of largely different sizes ie varchar(100) vs. varchar(5000) From what I have read SQL Server only stores the actual bytes of the data written to the field, so data 50 bytes long would be stored the same in a field of varchar(100) or varchar(5000). Everywhere I look people say to use the smallest size possible but given few if any reasons for this logic. I would love to hear from someone that knows the inside details of why if any this affects performance. The reason I am interested is that we are building an application that may ...Show All
SQL Server How to call Integration Services Project from Web UI
I just got done finishing an Integration Services Project (which I have to say was sickening easy!) which does the following: 1) Imports a comma delimited txt file 2) Exports it into a table 3) I do some manipulation and other table creation using SQL 4) Outputs a table to a flat file again I now need to allow the user to run this process. I'd like to either: a) Provide them a shortcut that when clicked on their desktop starts the process that I have defined in my Integration Services Project b) Better yet, create a web U I that has a button they can click on, something that shows the progress in time, and th ...Show All
Visual Basic ListView Problem
Hi, Iam using ListView Control in VB.NET, i want to do something like this... please help me. 1. I receive data from RS232 Port. 2. I will Save the data into a table.(Call Data) and mark a flag field as NO. 3. I must populate the data into listview control. 4. Sometime later i will receive a data maybe in seconds(Acknowledgement data). 5. I will search for Call data (2) and if found i will save the data into a table and mark a flag field as YES. 6. (Problem here) I remove particular Call Data displayed in ListView for which i received acknowledgement. OR I want to SELECT * FROM Table WHERE flag = 'NO' and Display in ListView... This mus ...Show All
.NET Development MultiStream files
Hi all. I have a "small" problem: I have noticed that if I am using FileStream to open a file that contains multiple streams, I am getting only the main stream of that file. Do you know if there is any possibility to read the whole file Thanks. Mircea I honestly don't know. I am not part of the product team (or Microsoft), but based on the information on MSDN Product Feedback (see my original reply), they are currently deciding if it is in the Visual Studio "Orcas" release or not. ...Show All
Visual Studio 2008 (Pre-release) Why the reverse German-like syntax?
Why do the LINQ queries have to look like a SQL query in German If you are trying to make it easier and are adding SQL-like keywords to the language, at least keep the ordering the same as SQL. The way this is, I have to know C#, SQL for triggers and stored procedures, and LINQ for the in-code queries. I don't see how this is going to make my life any easier. > .... why then has VB decided to do it the wrong way This would hardly be a first for VB and cannot be taken as a guide for what C# should do. I am not on the team, and am not from MS, but what's clear to me is tha ...Show All
Visual Studio 2008 (Pre-release) PeerChannel message loss and more test data
Here's the latest in my attempt to find a reliable configuration for PeerChannel to handle large volume enterpries messaging, and some new test results. When I first started playing with PeerChannel, it seemed like it lost messages very easily. Then I found that by adding an Application.DoEvents or a small sleep in my tight sending loop, things got better. A lot better: a couple of days ago I posted test results where I never lost a single message. If I really pushed things and tried to send a million messages, receivers eventually ran out of memory, but the network and its buffering were superb. Not a single lost message. That testing wa ...Show All
