AlBu's Q&A profile
.NET Development Transactions across WebServices
What's the best way to handle the transactions across web services in .net How to perform a 2 -way commit Example: Client a makes a request to company ABC Server to add user. AddUser() operation is executed on Company ABC Webserver. Then a call is made to the web service to execute AddUser() operation on Company XYZ Server. ( data is synchronized on another database ) If either operation fails on eith company ABC or company XYZ ...Show All
Visual FoxPro _screen.ContinuousScroll problem
I noticed this problem just this morning after spending many hundred hours debugging my app for the past few months when everything worked just fine. This is the setup which is hardly unusual. There is a function in a prg file and a Click method that calls it. There are a couple of print statements like: "coimng out of the function: "+numeric_id and such in the function(s) and one in the Click method. All output is character s ...Show All
Visual C# Link Button - Windows ApplicationC# Signatu
Hi, How can I make a link button minimize a applicationto taskbar And from the taskbar maximize Thanks C# Signature: [DllImport("user32.dll")] static extern bool CloseWindow(IntPtr hWnd); The CloseWindow function minimizes (but does not destroy) the specified window. To destroy a window, an application must use the DestroyWindow function. Hope This helps ...Show All
Smart Device Development Standard C++ code in Smart Phones?
Hi friends I am Developing a program written in standard C++ for Smart phones using embedded visual c++ 4.0 as editor, Smartphone 2003 sdk. the code is follows # include <stdio.h> int main(void) { printf("Hello World"); return 0; } my project is having a single file whose code is written above. So when i try to build this code for smartphone 2003 it gives Linker error which is written below _mainCRTS ...Show All
SQL Server Different Results With View Versus UDF
I have two views, for various reasons I decided to wrap a Select * From View with two UDFs. When run on their own, the UDFs return the exact same resultset as their respective view (did a compare and stuff to make sure). However, when I join them together, what was once 130,000 records (when joining the views) skyrockets into millions of records, and the resulting resultset is filled with duplicates. What is going on ...Show All
Visual Studio Team System Cannot connect to the Team Foundation Server
I have successfully installed Team Foundation Server Beta 2 with both App Tier and Data Tier on a Win2K3 box. We only have a Win2K domain, but I read that this is not a problem and others were able to connect their VS2005 client to the TFS. I have installed VS 2005 Beta 2 on a Win2K client and tried to connect to the TFS. I only get the "Unable to connect to this Team Foundation Server: MyMachineName. Team Foundation Server Url: http://MyMachine ...Show All
Visual Studio Express Editions Inserting Images in the Sql Express database
I would like to insert images that I have stored on my hard drive into a sql server database using my vwd express. I have created a table but cannot figure out how to insert (convert) the image (.jpg or bmp formatted) file into the recommended varbinary(max) column. Any sql sample code available Thanks Download this: http://msdn.microsoft.com/vbasic/downloads/2005/code/101samples/default.aspx ...Show All
Visual Studio Team System Custom HostZone
Hi, I am trying to create an applications boundary shape on the Application layer. I envision it to have similar behavior and shape to the Zone object (Host layer). I created the following definition but unfortunately it behaves like regular system shape. < SystemDefinition Name = " SystemsCluster " Layer = " Application " Extends = " System:SystemDefinition " Abstract = " true " > ...Show All
SQL Server Feature requests
May be it's too late, but I think this requests could be scheduled at least for a SP1 if it's not possible for the RTM. 1) Execute Task without debugger: it would be very nice to be able to execute a single task without going in debugging mode. Just as you would ask "Start Without Debugging CTRL+F5" but for a single task 2) Customize default properties for task and component: when you drag a task on the package you get a default value for the ...Show All
.NET Development folder security in web application
if you set autorization for a folder as <deny users="Somebody"/>, the user Somebody may access to the folder if he stay anonymous.the login process is not started if you try to access to this folder is it true and normal Yes, that is the expected behaviour. If you wish to deny access to anonymous users, you'll need to specify that by adding a <deny users=" " /> element. See http://msdn2.microsoft.com/en-US/l ...Show All
Smart Device Development Application/Process memory usage
is there anyway to determine how much he memory footprint of a particular applicaton process is and how cpu usage it is taking up at any given time I, i haven't had a chance to sit down and go thru your articles as yet, but a quick question. I have found some references to using GlobalMemoryStatus in previous searches. Does this actually return the memory allocated to a GIVEN PROCESS, or is it particular to the total memory of ...Show All
Visual J# Vj# 1.1 based Zip Extraction...
hi All, I have created a tool for my company which is predominanlty in C# and the application downloads a ZIP file from the internet. This is were I use VJ# because I guess it is easier to use VJ# for extracting the file. If I run my application on my DEV machine, the application runs so smoothly and it is able to extract the files according to the logic. But if i run on another machine, It does not. I have installed the Vj# redristibutable. Can ...Show All
Visual C++ Are there ANY advantages to using function pointers over regular function calls?
Hello All, Can anyone please anyswer this question Are there ANY advantages to using function pointers over regular function calls This is for a friend of mine. I would really appreciate it. Thanks, Rosraj rosraj wrote: Hello All, Can anyone please anyswer this question Are there ANY advantages to using function pointers over regular function calls This is for a friend of mine. I would really appreciate it. ...Show All
Visual Basic HOWTO READ REG_BINARY
I have a problem to encode a Registry value with the type REG_BiNARY. I will like to know how to read the binary code fron REG_BINARY to transform it to normal letters or if there is a program where i can find it PLEASE HELP ME See this post http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=207075&SiteID=1 Its about converting to REG_BINARY, but you should be able to use the same technique to decode them as well. Regards, ...Show All
.NET Development Connect to Access database using Internet
I have a Web Service running on my ISP's web server. I have an Access database on the same server. I can connect to the Access database using both OLEDBConnection and ODBCConnection. Now I need to connect to an identical Access database running on a Window XP Home PC. I know the IP Address of the PC. I am able to make the connection using VB6 and the following connection string: Connstring = "Provider=MS Remote; ...Show All
