zr119_62's Q&A profile
Visual Studio Express Editions Need To license source or component.
hi i need to license component to create licence for my app (to Protect my app). does anybody take me free license component or source thanks . I don't know if the ShareWare Starter Kit is of any use to you http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=686141&SiteID=1 http://sharewarestarterkit.com/ ...Show All
SQL Server Encrypting data across replication
We are looking at setting up peer-to-peer transactional replication between two databases. We have a customer requirement to encrypt the SSN in this database. I have configured replication successfully. I have also successfully encrypted the SSN using a symmetric key (with encryption by certificate). What I haven't done yet is set up encryption to work across a replication topology. What steps would I have to follow in order to be able to encrypt the SSN on one server, replicate it to the subscriber, and then decrypt the SSN on the subscriber For this scenario, is there a better way to handle encryption other than a symmetric key encrypted by a certificate As a followup question, I have one field -- SS ...Show All
Visual Studio Team System TFS over Internet - Receive TF31002 Unable To Connect
I am running TFS in Single Server mode (ATDT on 1 machine) and am using the Workgroup edition that came with my MSDN license. Everything works great when connecting from VS Team Explorer on the server. I can't seem to connect with Team Explorer from my workstation machine. I am trying to connect over the internet, not local LAN. Can someone please point me in the right direction. thanks, Chris Jim I have tried Basic Authentication and receive the same results. I have read in several places that this first version of TFS does not support Basic Authentication; they were not able to get it working and didn't have time to fix up the bugs. ...Show All
Visual C# Math: Round up number. eg 1234 / 50 = 6
I have a dataGrid and i wish to produce page buttons for next and back. Therfore i need to know how many pages i will need to for my data Eg, i have 1234 rows of data and each page will contain 50 rows. So 1234 / 50 = 24.68. So I need 25 pages How do i round up a number so 1234 / 50 = 25 . Thanks. Paul I worked it out. int totalPages = 37 /6; int remainder = 37 % 6; if (remainder > 0) totalPages++; ...Show All
Visual Studio Cannot change the reports of ReportViewer control
I am using a tree to select various reports to be displayed into the ReportViewer control on a winform app. However, only the first report is displayed and the control does not reload any other reports. Using the following code does not change the report being displayed: this .reportViewer1.LocalReport.ReportPath = "selected report path" ; this .reportViewer1.RefreshReport(); Is this a limitation of the control Is the only solution to re-create a ReportViewer control for each report to be displayed Thanks. Gidaye Beats me...I have the same problem. One Viewer and 2 different Reports, Two buttons on the form, One for each Report. If i use "viewer.reset", it tells me t ...Show All
Visual Basic locating specific controls within MDI children forms
Hi, I want to do something simple but cant seem to find the answer. Basically I want to use the copy/paste/cut commands from the Edit menu. I found the code to do this using the Clipboard class but now I have a different problem. I have a parent MDI form with different instances of MDI children forms. So how do I locate the currently selected textbox (or whatever other control type I will need) to copy/paste/cut to I had a try at this (code below) but I cant seem to get properties of a textbox class (like SelectionLength) from a control class. I hope the code shows what I mean (its not complete). This code is for the copy command. And also, dont mean to ask 2 questions in same thread but the only reason I have to write this code is b ...Show All
Windows Forms Problems with Flash9.ocx (maybe)
Product Versions: MS .NET Framework Version 2.0.50727 MSVS2005 Version 8.0.50727.42 Macromedia Flash Player 8.0 r22 8.0.22.0 Definitions: FlashObj axShockwaveFlashObjects (flash8.ocx) Visual Studio Version: vs2003, vs2005 Language: C# This FlashObj works perfectly in vs2003 Fact/Symptoms Fail 1 1. I put the FlashObj on the Toolbox using "Choose Items" 2. With a new windows app I attempt to place the FlashObj on the form 3. I recieve an MSVS error: Failed to import the ActiveX control. Please ensure it is properly registered. Fail 2 1. I open a vs2003 c# app in vs2005 that already has the FlashObj on a form. This app runs good in vs2003. 2. After going thru the vs2005 conversion wizard 2. I can place another F ...Show All
Windows Live Developer Forums Puzzling Reporting Responses
I've submitted a SOAP request that worked last week, but when I run it today (and yesterday), I get error code -400063, The report data for the requested date range is not yet available. However, I know that the report data is available, because I got it last week. I've included my SOAP below. Thanks. SOW REQUEST < xml version="1.0" encoding="utf-8" > <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Header> <ApiUserAuthHeader xmlns="http://adcenter.msn.com ...Show All
Visual Basic Mutiple Connections Strings
Hi I am using multiple connection strings in my application. Can anyone tell me how to move through these connection strings from the application. I am using VB 2005. Here is part of the app.config file. < xml version="1.0" encoding="utf-8" > <configuration> <configSections> </configSections> <connectionStrings> <add name="BDM_Security.My.MySettings.demo" connectionString="Data Source=BUF53460;Initial Catalog=fgb01q_demo;Persist Security Info=True;User ID=sa;Password=blues" providerName="System.Data.SqlClient" /> <add name="BDM_Security.My.MySettings.demo1" connectionString="Data Source=BUF53460;Initial Catalog=fgb01q_demo1;Pe ...Show All
SQL Server Report from prcedure that return multiple recordsets
Hi there, I am creating a report from a stored procedure that returns multiples record sets. For an example, my stored procedure is as follows CREATE PROCEDURE MYPROCEDURE AS BEGIN SELECT * FROM TABLE1 SELECT * FROM TABLE2 SELECT * FROM TABLE3 END Now lets say I want to create a report that will display the result of the query no 2 (which is SELECT * FROM TABLE2 in this example). How can I do this Is there any way to bind the second record set to the report dataset with out changing the stored procedure I will appreciate any kind of suggestions on this Thanks Moim Moim, Unfortunately, SSRS doesn't support multiple recordsets being returned from ...Show All
.NET Development how to prevent user delete ms access file?
hi, Is there any solution to prevent user from deleting the ms access file, which is a local database in my application. It's like this in my scenario, let's say a POS system, when internet connection is available, the transaction will update to server. otherwise it will store at the ms access file and process later when the internet connection is available again. but i have this issue where user will delete the access file although i have set the file attribute as hidden. It is just a normal pc at user side where they have most control to it. i just wondering is there any solution to prevent this. Thank you. regards, chunket Please explain how that is relevant to removing the delete permissi ...Show All
SQL Server Partitioning an existing table
Hi guys, I need your help, because I have an existing table that i want partitionate. Now to do that, i create a new table 'Temp' wich the partitionating function (and scheme). After I intialize this table with the value of the existing table. I drop the existing table. I rename Temp with the name of the existing table. Can i do something more simple like ALTER TABLE ExistingTable [COMAND PartitionScheme(xxx)] Thanks ;) ok i found. It's very simple. I create an index using an partition scheme ex : CREATE INDEX AnIndex ON MyTable (MyIDColmumn) ON ByDatePS (CMP_MyIDColmumn) -- the partition scheme ;) ...Show All
Visual C# NullReferenceException
System.NullReferenceException: Object reference not set to an instance of an object. at article.article.addarticle() ASPX file: void add(Object Sender, EventArgs E) { if (butimage.PostedFile != null) { strTemp = DateTime.Now.ToString(); strTemp = strTemp.Replace(":",""); strTemp = strTemp.Replace(" ",""); strTemp = strTemp.Replace("-",""); strImage = "D:/c/upload/" + Session["name"].ToString() + strTemp + ".jpg"; butimage.PostedFile.SaveAs(strImage); } article art = new article(); string temp_subject; temp_subject = Server.HtmlEncode(subject.Text); temp_subject = temp_subject.Replace("'","`"); art.subject = ...Show All
Smart Device Development How to access form controls from outside the form class
Hello, I have got a question that I believe must be quite basic. I am currently working on a project that involves developing an application on a PDA using .Net Compact Framework 2.0 in C#. Here is my problem: After performing the InitializeComponent(), I have to enable many device features such as its barcode scanner, battery status trigger.... . In order to well seperate the view with the buisiness logic, we would not like to write all these "device initialization" codes in the form class but in separate classes. The problem is that some of these initialization methods require to access a form control (e.g. the scanner should display the barcode it reads in a textbox, the battery status should be displayed in a label...). He ...Show All
.NET Development Concurrent Remoting and socket connections
Hello Having been trying to find the root of this problem for several days I now hope that you can help me. I’m implementing a distributed file system – consisting of, at the moment, a testing client (C), a http-server (H) and a file server (F) - with the following setup: H acts as an external interface to F, that is any given C connect to one H in order to access files at F. The communication between H and F uses remoting, ie. F registers a FileServerObject which interfaces the local file system which acts as the file storage. Testing H and F alone works fine. The communication between C and H uses regular sockets and uses the HTTP1.1 protocol for communication. These two work fine together. The problem then is ...Show All
