BahKoo51's Q&A profile
SQL Server Changes not replicated to subscriber
Hi, I hope you can help me with this. I am setting up a tranasctional publication with updateable subscriptions using: use [LIMS_PUBLISHER_TEST] exec sp_replicationdboption @dbname = N'LIMS_PUBLISHER_TEST', @optname = N'publish', @value = N'true' GO -- Adding the transactional publication use [LIMS_PUBLISHER_TEST] exec sp_addpublication @publication = N'LIMS_PUBLISHER_TEST', @description = N'Transactional publication with updatable subscriptions of database ''LIMS_PUBLISHER_TEST'' from Publisher ''RIVIERA''.', @sync_method = N'concurrent_c', @retention = 0, @allow_push = N'true', @allow_pull = N'true', @allow_anonymous = N'true', @enabled_f ...Show All
Visual C# How can I traverse a treeview and delete every node that deosn't have child?
Hello, I am wondering how can I traverse a treeview and delete every node that deosn't have child. Please help. Thanks. You have two options. You can traverse by index in reverse through the TreeNodeCollection and remove them as you find them. Or, you can loop through them and store a reference to each one found in an array or collection. And then afterwards use the Remove method on each item in the array or collection. The nodes that have no children will have a Nodes.Count = 0. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Adaptive, temporal Anti-aliasing
Hello, how do I enable ADAPTIVE or TEMPORAL anti-aliasing modes in the Direct3d API I dont think you do - the various AA modes seem to suffer hugely from various PR and marketting spin when it comes to naming. It might be possible to request a particular combination that the driver can interpret as being one of the special modes, but what (if any) such combination is going to be IHV-specific. The Direct3D API sees multi-sampling as a combination of samples and quality levels - resolving those combinations to specific names/modes/formats in "Marketting Speak" is not straight forward. At best gu ...Show All
Visual Basic Newby: Need help converting VBA script to VB 2005
Hello, I am new to programming. The following script needs to be converted from VBA to Visual Basic 2005. Dim fileName1 = InputBox("Enter filename for filtering") fileName2 = InputBox("Enter filename for output") Open fileName1 For Input As #1 Open fileName2 For Output As #2 Do Input #1, Data1 ' Gets number Input #1, Data2 ' Gets name Input #1, Data3 ' Gets model Input #1, Data4 ' Gets description Input #1, Data5 ' Gets interval If Data5 = "0" Then Data6 = "a" If Data5 = "1" Then Data6 = "b" If Data5 = "2" Then Data6 = "c" If Data5 = "3" Then Data6 = "d" If Data5 = "4" Then Data6 = "e" If Data5 = "5" Then Da ...Show All
Visual Studio forget my admin password
im forgot my admin password Alin Constantin - MSFT wrote: Of course, in Windows, for an Administrator to change passwords, the Administrator must remember his password, right Not really. If there is more than one administrator defined, then one administrator can reset another administrator's account. Of course that solution isn't perfect, resetting a password like that makes encrypted data inaccessible. A better solution is for an administrator to create a Password Reset Disk which they can use to reset their password if they forget it. That ap ...Show All
Windows Forms Mappping Window Form Coordinate with Visio coordinates
I have a window form in which i have 2 textboxes, i type something in both the textbox's and on click of button it should open a microsoft visio file and draw the shapes and insert text into the respective shapes, I am getting the windows co ordinates and also iam able to draw the shapes but it is not drawing in the correct position, I want something like what u see in the Windows Form shuld be some what exactly look in the visio file. Is there any way to map the textbox control co-ordinates in windows form with that of the visio co-ordinates Thanks in advance hi, Is your problem solved Thank you, Bhanu. ...Show All
Visual Studio Express Editions This application has failed to start because MSVCR80D.dill was not found
The file is there in c:\windows\winsxs folder. This happens when I try a to create a simple project to test system and press f5 to bebug it. The file will create with release set and create the exe but will not debug I would appreciate any help. I have removed all re-installed all and no matter What I do comes up the same Thanks Operating system xp pro I have the same problem with VC++ 20005 EE as you, I serached the filesystem for msvcr80d.dll,but I had no luck. ...Show All
Visual Studio 2008 (Pre-release) Next CTP
Is there any sign when the next CTP of WinFX & EID will be (I am currently using WinFX Feb CTP and EiD March CTP). Or are we going to have to wait for the next longhorn CTP (Beta 2) Thanks for any info. And yes, our plan is to make available a build of Expression Interactive Designer that is compatible with Beta2 of WinFX very close to the release date. Thanks, -Unni ...Show All
Windows Search Technologies Cannot uninstall WDS v2.6.5 (5378) under XP SP2
Howdy, I am using XP SP2 on a IBM T40 laptop, accessing through two accounts; one with admin privilege and the other under Power User. For daily usuage, I used the latter. The problem is I can't uninstall WDS v02.06.5000.5378. It is because: a) WDS isn't listed in Add/Remove Programs b) the Uninstaller package is not listed in %systemroot%\$NtUninstallkb911993-V2$\spuninst and lastly c) The "Windows Install Clean Up" does not have WDS listed BUT I found instructions to remove the product manually at http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=257994&SiteID=1 , but upon doing so, I found: a) while ...Show All
Windows Forms Open a file and save?
I want to open a .txt file and save it as a .RTF file. Anyone have any ideas on this Could you explain a bit more You can open a file using the richtextbox control on the form and save it in either rtf or txt. Via loadfile and savefile Hope that helps ...Show All
Smart Device Development How to build Visual Studio 2005 Smart Device CAB files?
Most of my apps are written in VB.NET. I have been convert all my apps over to VS 2005 from VS 2003. I have a lot of Smart Device Programs I have also converted over. Now this is my issue in VS 2003 under the build menu you had Build CAB Files. This would very fast and easy create all your CAB files. In VS 2005 I no longer see that option so how do I do this in this new version There's a separate project for a CAB in VS 2005. Please see this: http://msdn2.microsoft.com/en-us/library/ms228783(en-US,VS.80).aspx ...Show All
.NET Development Creating a Web Based Application from Microsoft Access
I have a Microsoft Access database that I use for construction management. It works fine on a local network. Is it possible to place it in a web based environment and access it from the web. If possible how is it done Yes this can be done. It works just like any other database (such as SQL). In your web application's data layer you would simply use the appropriate data provider to talk to the Access database instead of SQL or Oracle or whatever. However there are some issues that you'll need to handle before it will work properly. The first issue is security. By default your web application will run unde ...Show All
Windows Forms ComboBox and Binding Context Problem
I have 2 group box Buy and Sell on a form. There is an account combo box in both group boxes bound to same data source using DataSource, DisplayMember and ValueMember. Problem is binding context is causing the value in both to change when I change the value in one. Is there any way around this other than adding the list members manually   ...Show All
Visual Studio How to load image dynamically
HI all, I am using ASP.net with c# to load crystal report. I would like to know how i can load an image in the Report Header section of the report dynamically from aspx page. thanks pradeep_TP Hello All, I am having the same sort of problems while displaying image using CR.NET and VS.NET 2003. Let me epxlain what I want to do. I have designed reports using CR.NET that I intend to sell to various clients. I want to display client logos on the reports. I don't want to design a separate report for each client. I want to change the logo of my reports dynamically at runtime. I have tried inerting OLE obj ...Show All
.NET Development How to read Bitmap from a file.
Now,i have a binary file,that have write a string,a Int32 value,a bitmap ordinal. I use BinaryReader that could read String,Int32 value correctly. FileStream fileStream = new FileStream(fileName,FileMode.Open); // BinaryReader br = new BinaryReader(fileStream); String s= br.ReadString(); Int32 i=br.ReadInt32(); //How to read a bitmap to save to a bitmap ... ... ... br.Close(); // fileStream.Flush(); fileStream.Close(); Thanks. you don't need the FileStream -> BinaryReader -> MemStream steps, as FileStream is just as much Stream as MemStream is using (FileStream fs = new FileStream(filename, FileMode.Open)) using (Bitmap ...Show All
