Itchycoo's Q&A profile
Windows Forms Refresh DataBinding
Hi, How can I manually trigger a databinding to refresh my controls binded to a datasource. (DataSource have been updated behind the scene.) Similar to Page.DataBind() in ASP .NE Ohhhhh.... ok. I just "assumed" it was a WebForm. Databinding in WinForms is "so straightforward", according to MS, that they didn't include a DataBind method for controls. Instead, you can do various things such as fire an event when you want to rebind the data and then Fill the dataset(s) that you want to refresh. Fill'ing the DataSet should refresh the data on the controls attached to the DataSet. Curtis ...Show All
.NET Development Database secure login to program
Hi, I am creating a VB.Net program and know basic VB programming. The program will at first ask you to login. I want an admin who can change his password and also add users. I am not sure how to do this. I know how to access SQL databases but not how to make the program check the database each time a user inputs a login and them direct him to his account or how he can change his password without being able to access that of others. If anyone could give me a word of advice thats easy to understand I would be very grateful. look at the SQLConnection, SQLCommand and perhaps SqlDataAdapter classes: http://msdn2.microsoft.com/en-us/library/system.data.sqlclient.sqlcommand.aspx http://msdn2.microsoft.com/ ...Show All
Visual Basic how to hide a Process From (Process.start("",a))
Hey All, I try to figure out how to hide the porcess when using process.start() .Cause,when invoke this method which takes in a .exe and an argument.They will produce a result by displayuing a html page in an IE.So how do i prevent the result from showing. Thanks For Helping. Yah..its still display the IE.I think i cant do anything cos the IE html page came from the server itself.So do you think i can prevent from automactically display it.Anyway,i try your code just now,its work by not displaying the loading page of the Knexus.exe. Thanks Again ...Show All
Visual Studio 2008 (Pre-release) Demo III: Offline Application – WebService
Hello all, The N-Tier demo has finally arrived. This demo shows you how to take the server side code, basically the ServerSyncProvider along with all SyncAdapters that we build in the last demo, and expose it as a web service. On the client side, you generate a web service proxy and build a thin wrapper around it to be able to plug it into the sync agent. These steps and more are described in the accompanying readme.txt file. For more details and to download the project please visit my blog at: http://blogs.msdn.com/synchronizer/ Download sample: http://blogs.msdn.com/synchronizer/attachment/1554160.ashx Hi... could someone tell me where i can find the Microsoft.Synchronization.Data and Microsoft.Synchronization.Data.Client ...Show All
Visual C# Interfaces and Contravariance Q. - No Delegates
Hi I was wondering if there was any way to make something like this work: public interface IDataContainer { ... } public class RealDataContainer : IDataContainer { ... } public interface IDataProcessor { ... void Process(IDataContainer cont); } public class RealDataProcessor : IDataProcessor { ... void process(RealDataContainer cont) { ... } } I know that its possible with delegates and generics, I wanted to know if this was possible using some other tricks. VS2005 doesnt seem to like it. Any help would be greatly appreciated. Thanks. AM Like I said, I always have trouble remembering which is which out of covariance and contravariance. :) So I went b ...Show All
SQL Server Does MS plan a GUI
Hello all, We are planning to base a product on Microsoft SQL-2005 Notification services. However, one of the required properties from this software is to provide the client administrator a user interface to configure the Instance Configuration File (ICF) and Application Definition File (ADF). Working with XML files will not do for us, once the responsibility is delegated from a developer to an administrator. Before going into the process of writing such an application from scratch, I would like to know if Microsoft has such an enhancement on the SQL-NS roadmap, and if so, when it is scheduled to. Does anyone have any thoughts or knowledge Thanks Ziv G. Hi Joe, ...Show All
Visual Studio Debug.Print in command window
Hello all, When using the debug.print command to display a structure in the command window I get the following message: < More... (The first 100 of 234 items were displayed.) >. How do I get the rest of the structure to display Thanks, jeff. Hi Lisa, Same problem. I briefly contemplated throwing my computer out the windows as I thought my VS install became corrupt. However, it turns out to be a simple fix. I had to go to Build->Configuration Manager, and change my build to Debug from Release loop ...Show All
Visual Basic digitally signing sample code
Hi, I have tried the code from MSDN reguarding digital signature. But I'm not able to make it work. Here's the code: Sub Signfile(ByVal InputFileName As String, ByVal _ OutputFileName As String) On Error GoTo ErrorHandler Dim c As String Dim s As String Dim MyStore As New Store Dim Signobj As New SignedData Dim Signer As New Signer Dim SigningTime As New CAPICOM.Attribute MyStore.Open(CAPICOM_CURRENT_USER_STORE, "MY", _ CAPICOM_STORE_OPEN_READ_ONLY) Signer.Certificate = MyStore.Certificates.Item(1) ' Open the input file and read the content to be signed from the file. I get errors at these 3 lines: Open InputFileName For Input As #1 Input #1, c Close #1 Signobj.Content = c SigningTime.Nam ...Show All
Connected Services Framework Is CSF essentially an ESB?
Is CSF essentially performing some of the same role as an Enterprise Service Bus (ESB) product such as those available from vendors such as Sonic or IBM If not, how is it different A follow-up question - can one assume that session mgmt is a combination of "ESB"+"run time goverance"+ orchestration ...Show All
SharePoint Products and Technologies sql express edition with WSS3.0
I am in process of instaling WSS3.0. I need to know whether we can use sql server 2005 express edition(as it is the free one) to create sharepoint database. If yes, then what steps needs to be followed to create this database and giving the exta needed permission to database users. Regards AFAIK, the SQL Server which comes with WSS and installs in "Basic" option is not Express edition but Embedded edition. The difference is that Embedded has even less features. E.g., it has no management tools other but common osql command-line tool. So I prefer using stand-alone SQL Server Express installation and setup WSS in "Web Front-end" configuration. This way you can always use SQL ...Show All
Smart Device Development Appointment Class Recurrence Problem
Hi, I am trying to set a recurrence appointment which recurs yearly in the calendar. The appointment does get inserted at the correct date and it does recur every year. But.. When I open the entire series in the calendar for editing and press the "ok" button, thus save the appointment the calendar app tells me: Cannot save, Select an end date that occurs after the start date. I find this very odd because the recurrence should go on indefinetely. This all takes place on a pocket PC/Smart phone running on Windows Mobile 5 (Palm Treo v750) with CF2.0 installed. I used the following code: Appointment appointment = new Appointment(); appointment.Subject = apptSubject; //appointment.End = appointment.S ...Show All
Visual Studio 2008 (Pre-release) typical proxy against channelfactory
Hello everyone, We are developing an application using indigo. We were using normal proxy as we should do with normal ws. But i have discovered ChannelFactory and i like it because you do not need to create a new proxy when things changes andis very easy when you have the same type in the client and the server. Well, what i would like to know is how channelfactory works - i haven't found it on internet. It generate a proxy asking for wsdl or it generates it from the interface It performs better or worse than proxys Thanks. Hi I talked about this here and here . Lemme know if you have further questions, please. Cheers, ...Show All
Visual FoxPro CursorAdapters and ConnectBusy
Hey all. I was doing some work with CursorAdapters and SQL Server and ran into the dreaded ConnectBusy issue. This was caused by having an adapter open where I guess all the data hadn't yet been pulled down so while it did a SCAN ENDSCAN with some updates, it kept coming back saying ConnectBusy and it felt like an endless loop. I got around the problem by putting in some code to ensure I could go to the top of the file and the bottom of the file and then reran my scan loop. But I know there's an easier way. What are some of you doing to get around this I know about a few of the approaches but I know there must be some other better ones around there. Thanks Hi Andrew The only solution I can offer is to do what you are doing Thi ...Show All
Community Chat SaveProjectAs
Ok...After hearing some complaints on this these boards about not having a "Project Save As" that saves the entire project to a new destination and name...I created this addin for VS05 that does just that. The addin creates a 'Save Project As' menu item off of the file menu and allows the user to select a VB or C# project file and then select a new destination directory and a new name for the project. All standard dialogs used. you can download the xcopy deployment files from: http://codegallery.gotdotnet.com/SaveProjectAs The zip file contains two files: SaveProjectAs.AddIn and SaveProjectAs.dll and all you have to do to get it to work is to unzip the files into your addin directory... Please use this thread or ...Show All
Visual Studio Express Editions Newbie: Video tutorials and audio??
Are the video tutorials narrated I have no audio, i don't know if its just me or that there is symply no narration or audio. Thanks. I would then guess that its your machine configuration rather than anything to do with the files on the server. ...Show All
