Software Development Network Logo
  • IE Development
  • Visual Studio
  • Visual FoxPro
  • .NET Development
  • Smart Devicet
  • SQL Server
  • Game Technologies
  • Audio and Video
  • Windows Vista
  • Windows Forms
  • SharePoint Products
  • Visual C++
  • Microsoft ISV
  • VS Team System
  • Visual Basic

Software Development Network >> efarook's Q&A profile

efarook

Member List

JBJBJB
robinjam
John.Doe
Jordanspringer
lasa
CET PRG455
Jesper Kleis Jensen
Tonnie
David J Oldfield
dfpelican
Kamarey
garimell
Shady Brady
Kapalic
Vikas H
Zadoras
Brianedow
Robain
jorisp
xplosiv_1
Only Title

efarook's Q&A profile

  • Visual Basic Timer not working in Windows Service

    Hi. I'm new in windows service. I did a few test and I could install it. I add a small function in the start event and it run properly. but when I put it in timer event, it didn't run. I just add a timer from toolbox and in its event i put the code: Private Sub Timer1_Tick( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick FileCopy("C:\a.txt", "D:\" & Format(Now, "hh-mm-ss") & ".txt") End Sub I feel that the timer didn't work... and can I use the windows form timer in a windows service Thanks. Omar Mallat Hi, I guess the timer component relies on some one reading and dispatching windows messages from the message qu ...Show All

  • Windows Forms PropertyGrid useage questions?

    Hello, I have the folloing question about using PropertyGrid, would you please to teach me how can I do that 1. How can I show a customize property description rather showing the property name in the PropertyGrid 2. How can I display the property in PropertyGrid in a specific format For instance, if the property is a password, I want it to show teh "*" instead of the plain password. 3. I want to use PropertyGrid to config the system. If the data type of the property is "Boolean", it will allow user to select "True" or "False" in the value column. Is it possible to let the user to select some value if the data type is String or others Would you please to show me the examples about ...Show All

  • Visual C# Button Madness (one of many posts to come)

    I know I should have been more descriptive in the subject, but the question is too long to fit. I'm trying to make a charicter creation application for a RPG. I want to have it so that when a person clicks the + button (button2), it will subtract one for the remaining points which is displayed in label20, add it to the Strength score (int Str) and then display the modified Strength in label11. Next, I have a subtract button (button10) that does the same but adds one to the remaining points and subtracts 1 from the Strength score (int Str) and displayes the remaining points and Strength in thier appropriate label boxes. To complicate matters worse, I have to 1: have to do this for 7 other stats, which none of them can go lower than ...Show All

  • .NET Development relieve username and password for Visual source safe

    Hello, I am trying to retrieve username and password when user logins to WINXP and WIN2000. I wrote a script that will grab username and password and connect to VSS, and allow a specific user to access the files, but I am having a problem retrieving password. I can retrieve username but not password. Is there away to retrieve password or not, Thank you, Hi, The idea is, when the user logins in to there account, it grabs username (I can) and password (dont know how) and checks the authorized user using VSS COM objects + C#.NET. Once the user is authorized, a web form will be used to checkin/checkout files from VSS. Thanks., ...Show All

  • SQL Server Whats the different between SQL Express & SQL Server 2005?

    Hi, I'm working in a small company (less than 30 user), we can't buy MSSql Server 2005: Q1: can we use the Express edtion do access our data I mean for commersial purpose.. Q2: dose the Express edition stand to (30 connection) at the same time Q3: can I add users to it     HI, 1. yes , Refer http://www.microsoft.com/sql/editions/express/redistregister.mspx 2. Refer http://www.microsoft.com/sql/prodinfo/features/compare-features.mspx 3. Yes Hemantgiri S. Goswami     ...Show All

  • Microsoft ISV Community Center Forums Dynamicaly enter Data in Microsoft Access

    I need to be able to enter data in a form feild dynamically in vba. I allready know the value that I want the feild to have. I just need an example of how to do it. I tried changing the default value in a form but thAT did not seem to work. Hi Try attaching your code to an event on the form such as the change event on one of the other fields that are keyed and are required ...Show All

  • SQL Server version problem

    This error message is correct. Is there a way round this problem The backup of the system database on device D:\msdb.backup cannot be restored because it was created by a different version of the server (134218488) than this server (134217922). RESTORE DATABASE is terminating abnormally. Thanks in advance for any help. You can't take a higher version (18488-sp3) backup and try to restore it to a lower version system (17922-rtm). You have to bring your system to at least the same version as the backup or higher (sp4 is recommended) before you can restore. ...Show All

  • .NET Development I have a new problem.Help me please!

    I am working on a message system based on remoting.I met a strange problem totay. The message system includes three part: 1,the server side which holds the remoting object 2,the message sending side which call the remoting object to send message. 3.the message receiving side which call the remoting object method and was called by the remoting object through a MBR object passed from client. Here is my problem: the message receiving side work well ,it could always call the remoting object method successfully. but the message sending side can't always work well.Sometimes it's ok,but sometimes it would throw this exeption: System.Runtime.Remoting.RemotingException: Requested Service not found An ...Show All

  • Windows Forms Make a pixel board in c#

    Hello, i need to do a 7 x 7 board control in .NET 2.0, i'm working with c# and the idea is to have the board, and when i click some pixel (that i'm representing with labels) it changes it's color (from white to black, or black to white), to this point i'm good, but i need also that when the user click some pixel and then with the mouse button pressed they move the mouse over the other pixels, those pixels also change the color to the color the first pixel changed. This is like the canvas of an icon editor application. This is a snaphot of what i have at the moment, the problem is that the mouse move part only work sometimes. I'm also posting the code i have at the moment. If someone have an idea of how to accomplish ...Show All

  • Visual Basic Error with using ReportParameter

    I have the following code, Dim params(0) As ReportParameter params(0) = New ReportParameter("rptHeaderLabel", "Test") Me.ReportViewer1.LocalReport.SetParameters(params) Me.ReportViewer1.RefreshReport() similar to the code used in http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=210552&SiteID=1 but unlike the other programmers, I am getting the following error; 'Microsoft.ReportingServices.ReportRendering.ReportParameter.Private Sub New(param As Microsoft.ReportingServices.ReportProcessing.ParameterInfo)' is not accessible in this context because it is 'Private' Any suggestions I what I am missing Sorry for the delay, but no i ...Show All

  • Software Development for Windows Vista Adding roles to WorkflowRoleCollection

    Hello, I'm developing a workflow with ASP.NET authentication. I have assigned some event handlers in the workflow a WorkflowRoleCollection in their Roles property. When I want to fill the WorkflowRoleCollection with the roles that can raise the event, apparently I don't do it right. The problem is that when I raise that event I get an exception saying something like "authorization error in eventhandler guardaHorari1", and by checking the exception details I've thought that the problem is that when it checks the role of the user that tries to launch the event agains the workflowrolecollection, it doesn't find it there. I fill the collection this way: public WorkflowRoleCollection rolsModificadors = new WorkflowRoleCollection(); ...Show All

  • Internet Explorer Development IE 7 final release and window.prompt

    Hello, The release notes for the final version of IE 7 has this entry: Generic Spoofing Risk Reduction in Internet Explorer 7 --The window.prompt script method is blocked and the gold Information bar is displayed by default in Internet Zone for Internet Explorer 7. The helps prevent websites from spoofing things such as the logon screens of other websites. This is a new security enhancement for Internet Explorer 7. Was this behavior in any of the IE 7 betas or the RC1 Or is it brand new in the final release Thanks Ok, I found that setting under Security Settings for each zone. I guess the more important question is how do I get it to work with Menu Extensions I have one I use (and need ...Show All

  • Visual Basic modify data, and update datagrid!

    Hi, I am having a problem updating and displaying data. On a form, i have a data grid which, when the user double clicks on a record my data table updates. For this i am using the following commands: dt = Me .FantasyDataSet.Draft dt.Rows(position - 1).Item(Team) = player & ", " & pts dt.AcceptChanges() As i step through my program, i can see that my datatable, dt, is being updated with new values. i have another datagrid which i want to display the datatable i just updated, but it never updates. I have another routine which i call just after dt.AcceptChanges(): Public Sub updateTeamGrids() Dim oCon As OleDb.OleDbConnection Dim oCommand As OleDb.OleDbCommand Dim ...Show All

  • Windows Forms execute control validation

    Hello, My control has validate event handler that raises when the control looses focus. I want to be able to call this validate event handler from code (and no, I don't want to write a function). Is there a way to call this handler, or maybe cause the control to loose focuse Thanks. Because the event handler is just a function you can simply call the relevant function ala:          yourControl_Validating(null, new CancelEventArgs ()); Is this the sort of thing you are looking for Another option you might try is calling the SelectNextControl() method to have the next control on the form be selected so that yours loses focus. ...Show All

  • Visual Studio 2008 (Pre-release) Can't connect to sql in wcf

    Hi, i keep getting: Login failed for user ''. The user.... Currently i'm hosting my wcf application within IIS (it worked fine when i self hosted it in an app running as me). So i tried to impersonate my user account in the web config (just to see), but that didn't work either. In IIS 5 how do i host WCF and make it run as a specified domain account (So i can windows auth to my sql server) (is this bad practice should i manually be telling it when/who to login to sql as ) In IIS 6 in IIS 7 ALSO: How do we properly specify (windows based) client security in our service if we're hosting it anonymously in IIS I want to certain OU groups in AD to have access to this service, currently having it anonymous allows ...Show All

©2008 Software Development Network