Sharma M's Q&A profile
Visual Studio 2008 (Pre-release) Transactions in DLinq
Hi there, As I understand it DLinq automatically wraps any call to SubmitChanges() in a Transaction right Does this mean that all the updates made since SubmitChanges() was last called are guarded by the transaction I.e. that either all the updates made since SubmitChanges() was last call will succeed or none of them will be submitted Thanks, Ulrich Per the DLINQ overview documentation, SubmitChanges is not automatically wrapped within a transaction. You are responsible for your own transaction handling either with a standard ADO.Net transaction (db.LocalTransaction = db.Connection.BeginTransaction()) or preferably using the new ADO 2.0 TransactionScope. Jim Wooley http://de ...Show All
Visual Studio Visual SourceSafe on Cluster environment
Hi, Can you please let me know whether Visual SourceSafe can be configured to be on a Cluster environment If yes, please let me know how it could be done. Kindly direct me to any document if possible. Thanks and Regards, dhino Hi Dhino, Visual SourceSafe is a client based application and there is no Server component to configure or run in a cluster environment. The database simply consist of a number of files on a file share. The connection is based on the client being able to see the file share and all the files making up the database being available. Normally when I think about clustering I am thinking about typically include database servers (such as Microsoft SQL Server), mail and collaboration servers (such as Excha ...Show All
Internet Explorer Development IE7 FTP Security Issue
I have run into a security hole in my ftp site that has only now become a problem with IE7. The structure of my ftp directory involes several streaming media folders and a Client folder in the root directory. The contents of the client folder and its children are all password protected. Inside these folders I upload content for my clients to view approvals and allow them to upload files for my own use. The root directory has read-only permissions for everybody because of the streaming content I am hosting. In the past when a client logs into their ftp folder, the password protected nature of the client folder prevents them from moving up in the hierarchy outside of their folder. In IE7 however, I have found that a client can now leave he ...Show All
Visual Studio Team System TFS SP1 ?
I haved googled...(mmm queried from google), http://blogs.msdn.com/bharry/archive/2006/06/15/632236.aspx seems TFS SP1 is on the way. Will SP1 support hierarchical relationships between workitems The integration between Project and TFS is not good enough now, will SP1 impove it ( http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=473942&SiteID=1 " We're adding support for hierarchical relationships and the ability to preserve the tree structure created in project, in a future version. " ) Thanks. Hi all, Does anyone know when SP1 is due to be released Kind regards, Ferdinand Kuiper ...Show All
Visual Studio 2008 (Pre-release) loose xaml hangs in ie7 on XP
I am trying to run a simple xaml file in ie7. Open the file, iE7 launches but then doesn't do anything. The progress bar slowly progresses but nothing happens. The xaml file just contains a page with a textbox. I have .net 3.0 installed is anything else needed on an XP machine to run xaml pages/apps Can you send the XAML file and some more information about the environment thanks! 1. Are you using .Net 3.0 RTM and were there previous versions installed 2. Do standard WPF clickonce applications deploy and run 3. Try cleaning up the clickonce application cache. 4. Finally, are there any orphan PresentationHost.exe processes running If so, can you break and send a full dump file so we can debug ...Show All
Visual Studio Team System What does the Breakpoints in Fiddler tool do?
Hi, Kindly explain how the "Before Request" & "After Responses" of Breakpoints in the Fiddler tool do. Thanks in advance - Vijay ...Show All
Visual C++ minimum delay for timeSetEvent
I have been using timeSetEvent for some time to record data from sensors/robots with a delay of 10 ms between events. This has always worked fine. Today, however, when I set the delay at 10 ms, the callback function is called only after about 20-25 ms. This is true even for code that hasn't been changed at all and previously worked fine with a 10 ms delay. Even when the program is doing nothing but writing the time to a file, the delay is still 20-25 ms instead of 10 ms. Any suggestions would be much appreciated. I am not running a lot of other programs or anything like that. Thanks! hi, RobotBambi, I know before that it is capable to set a minimum time span to 1ms by using windows APIs, so it shoul ...Show All
Software Development for Windows Vista AutoCAD 2007 and 2005 compatibility with Windows Vista
My bussness revloves around the use of AutoCAD. I recently installed Windows Vista Ultimit on my computer. After i tried to install AutoCAD 2005 on it to discover it would not work. Is there any patches in order to make it compatible. If not Is AutoCAD 2007 Compatible before i go and buy it. thank you I think that that works only if you've upgraded xp to vista with autocad installed before. But what about if you have a new pc with vista. Do you think that I can run the setup prog by "right clicking" ...Show All
Windows Networking Development Listen On a Certain Port
I dont know if this is the right place for this.. but lets hope so... Im trying to create a simple... app that will listen on a certain port.. but for some reason It listen.. the program starts but.. then it ends... I also dont get any errors.. So Im a big lost here.. using System; using System.Net; using System.Net.Sockets; class internetcheck { public static void Main( ) { new startConnection(); } } class startConnection { public startConnection( ) { Socket socket = new Socket( AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp ); IPAddress ipaddr = IPAddress.Parse( "127.0.0.1" ); IPEndPoint endpoint = new IPEndPoint( ipaddr, 888 ); socket.Bind( endpoint ); socket.Listen(2); //soc ...Show All
Visual C++ Printing MDI cFormview
hi, I have created an MDI application that has many forms (CFormview). How do i able to allow all my forms to has the print function to print. I see a lot of example using SDI which i don't think it can works on MDI since all the forms must need to be printed out. Pls Help! Thanks. Direct such questions to the GDI newsgroup found at http://msdn.microsoft.com/newsgroups , as it's outside the scope of this forum. Thanks! (OTP) ...Show All
Game Technologies: DirectX, XNA, XACT, etc. game creation program
I am new to C++ but have experience in Macromedia Flash, 3d rendering and modeling, and I was wondering what is the program that I would need to create games for PC's and Xbox. What programming language would I need to know and what kind of training would be required. Thanks. -Smokey My suggestion to you would be to first start looking at the language you choose, then start looking into some sort of classes... But as you said that you want to try Windows and Xbox programming I would move away from c++ and head on over to C# and the XNA/Game studio Express systems. The XNA and Game Studio Express systems have been designed to be used on Both Windows and Xbox 360 by hobby developers. If you have a look at the GSE forums p ...Show All
Game Technologies: DirectX, XNA, XACT, etc. A box wasnt shown
Hello everybody ,I`m new with DirectX can you guide me that,What dont the box wasnt shown thanks a lot. public Form1() { this.SetStyle ( ControlStyles.AllPaintingInWmPaint | ControlStyles.Opaque , true ) ; InitializeComponent(); } private bool InitializeGraphics() { try { PresentParameters presentParameter = new PresentParameters() ; presentParameter.Windowed = true ; presentParameter.SwapEffect = SwapEffect.Discard ; device = new Device ( 0 , DeviceType.Hardware , this , ...Show All
Visual Studio Express Editions compile error: may not declare a global or static variable, or a member of a native type that refers to objects in the gc h
Hi all! anyona can help me with this I'm really a newbie with VC ... I'm trying to declare this global: TcpClient* client ; but I get this error: " may not declare a global or static variable, or a member of a native type that refers to objects in the gc heap" What does this mean I need to declare it there because i'm using it in a following class definition. How can i workaround this error Thanks dario dalla libera Thx Peter, at the end I was able to workaround this writng; public ref class Globals abstract sealed { public: static TcpClient^ client; }; Accessing the global writing Globals::TcpClient thx all ...Show All
SQL Server Problem with SQLBindParameter
I am developing an application, using ODBC, that needs to call a stored procedure in an SQL Server DBMS that has a mix of INPUT and INPUT_OUTPUT parameters. I have the code so that there aren't any errors returned from the function calls but I do not see the bound data change after the SQLExecute() function. Code snippets follow. CHAR szStatement[256]; CHAR szBuf[256]; SQLINTEGER irval = 0, filenum = 808042, DoNotCall = 0; SQLVARCHAR vcPhoneNumber[PHONE_LEN]; SQLVARCHAR vcInstanceCode[INSTANCE_LEN] = {0x20}; SQLVARCHAR vcReason[REASON_LEN] = {0x20}; SQLINTEGER rvalLen = 0, fileLen = 0, noCallLen = 10, phoneLen = SQL_NTS, instanceLen = SQL_NTS, reasonLen = SQL_NTS; lstrcpy( szStatement, "exec = some_proc , , , , " ...Show All
Visual Studio 2008 (Pre-release) Multiple background images
Hello, I created a user control and I would like to put three background images - each with partial transparency - on top of each other. I’m currently solving that problem the following way: <UserControl x:Class="XamlProject.SystemPanel" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Height="768" Width="579" Margin="0,0,0,0"> <UserControl.Background> <ImageBrush ImageSource="C:\Back_Allgemein.png"/> </UserControl.Background> <Grid> <Border> <Image Source="C:\system_ausgewaehlt.png"/> </Border> <Border> <Image So ...Show All
