Topics
-
-
- Administrators
- 5 replies
- 4k views
I am trying to create an application, one on a server and the other on a networked PC. What I want to do is send information from the PC app. to the server app. I have the following code which allow information to be sent when the applications are launched, so they are able to talk to each other. The only problem I have is that the applications both freeze. What I want to do is have the sockets running in a different thread so that PC app. can send information from the main form to the server app. and that information can then be displayed on the server main form e.g. information entered in a text field. Below is the code that creates the socket, and this passes…
Last reply by QuickDraw, -
-
- 0 replies
- 2.6k views
how do i register my web service to uddi registery in windows xp sp-3
Last reply by srinivaskr, -
- 0 replies
- 2.2k views
how do i publish the web service i have written in C#.net on asp.net3.5 platform to the web server. what are the steps to be followed for that. please give me the exact steps to be followed to achieve this task. thanks in advance
Last reply by srinivaskr, -
-
- Leaders
- 10 replies
- 4.6k views
Hi, I've one png file which has 2 transparent areas one is square and the other is circle. Now I need to create 2 new png files for these transparent areas. Like copying only square one on another black or any color background and the same thing for circle area. I don't want to crop a rectangle since I have a circle shape and if square falls in that rectangle area I won't get the proper transparent area. I don't know how to determine only transparent regions and how to separate each region?!! Can anybody help me about that? Any suggestions?:confused:
Last reply by snarfblam, -
-
-
- Administrators
- 2 replies
- 857 views
Hey guys! I do not have the correct words to look for a solution. So I'll try to explain what I want. Is it possible to achieve something like this: Dim angle1 as Angle = Math.Pi*3 '=Math.Pi Dim angle2 as Angle = Math.Pi*3/2 Dim angle3 as Angle = angle1 + angle2 debug.print(angle3) 'Would print 1.57 which is Math.Pi/2 Angle would be a custom class or type or whatever is the right word/solution and inside that "class" definition would be defined that these types can be added(+) and Angle is allways between [0...Math.Pi*2[.
Last reply by JumpyNET, -
-
-
- Administrators
- 1 reply
- 1.2k views
using System; using System.Linq; using System.Web; using System.Web.Services; using System.Web.Services.Protocols; using System.Xml.Linq; using System.Web.Mail; using System.Net.Mail; [WebService(Namespace = "http://MailServiceSample/")] [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] [system.ComponentModel.ToolboxItem(false)] [system.Web.Script.Services.ScriptService] public class SentEmail : System.Web.Services.WebService { [WebMethod] public string Sending_Email(string strEmailAddrFrom,string[] strEmailAddrTo, int intTotalEmailTo, string strAttachement) { EmailAlert NewMail=new EmailAlert(); return NewMail.Em…
Last reply by PlausiblyDamp, -
-
- 5 replies
- 5.8k views
How to read cell(1,1) and cell(1,2) from an excel workbook (c:/add.xls); worksheet (sheet1) and add the two numbers and display output in excel sheet (sheet 2 of c:/add.xls) cell(1,1)?
Last reply by Vanessa83, -
- 0 replies
- 1k views
Hi Not sure if this is the right place to post, but it seems along similar queries to my own; I want to add a box to my VB project that will basically be an excel worksheet, 8 coloumns wide and 80 odd rows long, how do i go about this? Apologies, this is my first time using Visual Studio, but i have the rest of the logic for my program outlines in excel VBA so am hoping it wont be too hard after these initial stages
Last reply by Vanessa83, -
- 1 reply
- 1.5k views
Hi all, I would like to host my Silverlight Business Application on my own IIS 7 webserver. Could anyone help me, what should I do? Please help me in step-by-step. Thank you in advance
Last reply by Martonx, -
- 1 reply
- 1k views
Hi there, I am struggling with the following for some time now. I use the datagrid control in 3 ways. 1. To view a database query result and search in the result in the datagrid 2. When I need to update the database with a record 3. When I Insert data into a record. Depending on these three functions I need the datagrid to behave different. In the case of 1. The first row should be editable and the rows containing data should be read only. Just for selection purpose In the case of 2. Only the row that needs to be updated (record in the database) should be editable. Just add a complete row from the datagrid view as a ercord in the database. In case of …
Last reply by feurich, -
-
- Administrators
- 3 replies
- 998 views
Hello, I have created a program that works in a form and i need to enable it to run into internet exploer as embeded content. How can I do it? (I want to make a plugin such as flash's) Thanks you.
Last reply by geomatical04, -
-
-
- Administrators
- 2 replies
- 3.7k views
I have a tool which I use to programmatically create local user accounts as follows: DirectoryEntry NewUser = dirEntryLocalMachine.Children.Add("UserName", "user"); NewUser.Invoke("SetPassword", new object[] { "Passsord" }); NewUser.Invoke("Put", new object[] { "Description", "Description" }); NewUser.CommitChanges(); [/Code] The account is created fine but at at this point the User Profile does not exists (no HKEY CURRENT USER, no Documents & Settings, etc...), I was doing some research into this and found the following MSDN article that says calling LoadUserProfile(...) will actually create the profile if it does not exist: http://s…
Last reply by Shaitan00, -
-
- 0 replies
- 1.7k views
Is there a way to force a logoff (knowing this is not recommended) of the current interactive (logged-on) user and then login with a new user account (interactive - not using stuff like LogonUser and other impersonation tricks) to simulate someone physically pressing LOGOFF and then selecting a new account to LOGON...? The issue is that my service creates a new user account programatically - and I need to find a way to create its corresponding user profile. From what I can see the only way that works would be to physically logoff the current user, and then login as the new user (which will create the User Profile for HKCU, Documents & Settings, etc...). Sounds a li…
Last reply by Shaitan00, -
- 4 replies
- 1.3k views
I am trying to implement a delay when send data. Because of this delay I will need to queue any data received while waiting for the delay to expire. I have everything set up I am using System.collections Queue for holding the data received while the delay is active. Once the delay has expired I check the queue and then process that data. I have all of this working. To create the delay I am processsing the data in a new thread then inside that thread I am using that thread sleep function. This works too but while this thread is sleeping then main thread sleeps too. here is my test code. Imports System.Threading Imports System.Collections Public Class Form1 Priv…
Last reply by ZeroEffect, -
-
- Administrators
- 2 replies
- 2.6k views
My system has 2 accounts (USER and ADMIN) and a service (Service.exe) running under LocalSystem. The user logs into the USER account, the LocalService can then launch a process (CreateProcessAsUser(...)) as the ADMIN user. The process the Service runs (Tool.exe) is a legacy C++ application that performs a job and also displays information to the user by using CreateWindow(...), but when launching it by the Service the Window does not show... When the process is created by the Service I first load the Profile & Environment of the ADMIN user so that the correct context is used ... (was still hoping the Window would display to USER) Now, initialy I thought t…
Last reply by PlausiblyDamp, -
-
-
- Administrators
- 2 replies
- 2.7k views
I want to take a text file with data stored on each line, then have my VB program take each line and assign it a variable. If anyone can help me on this I would deeply appreciate it. Thanks.
Last reply by 8ball, -
-
- 0 replies
- 3.8k views
Hello Everyone, How is it possible to copy files from a remote computer to a local computer using wmi. The remote computer folder is not shared. Actually i need to copy the files from a directory in "e:\\". waiting for your valuable replies.Thanks in advance renjith
Last reply by renjith0983, -
-
- Administrators
- 1 reply
- 1.5k views
I need to find a reliable way to update a running Windows Service (Service.exe). The service is run under the LocalSystem account whereas the logged-in user is in a non-admin User account. My current solution would be as follows: - The Service.exe checks for updates (files) regularily - When an update it found it starts another service (Launcher.exe) that would stop the Service.exe, copy over the files, restart Service.exe, then stop itself After doing some online-reading and from some of my previous forum posts I beleive this would be the appropriate solution - but before I go ahead I wanted to check with all the guru's and see if I am forgetting something impor…
Last reply by PlausiblyDamp, -
-
- 0 replies
- 1.8k views
At my company we have a product which pretty much interacts with everything you can imagine... registry, databases, devices, etc... it is composed of many parts but the entire application is launched by a single executable (start.exe) which is responsbile for launching everything else - this is all legacy code and run under a USER account. Currently this is launched as a STARTUP item (or by double-clicking on the desktop icon) in Windows, meaning when the user logins into the USER account the application (start.exe) automatically kicks off, under this account it has all the permissions it needs to run and everything has been fine for years... Now comes the change - …
Last reply by Shaitan00, -
- 2 replies
- 1k views
I have a program made in C# that shows some critical data on the user's desktop. It must be ALWAYS visible, that is, the show-desktop function should never minimize it, but it does. How can I walk around this? Thank you
Last reply by Cags,
-
Who's Online 0 Members, 0 Anonymous, 9 Guests (See full list)
- There are no registered users currently online