Amadrias's Q&A profile
Visual Basic Can you run a process through a UNC path?
Hello All! I know I can launch a program on the same computer, but can I run a process through a UNC path Thanks! Rudy The Windows XP resource kit provides the RExec utility . ...Show All
Visual C# scheduler like a calender
hi people, i am writing a sheduler where you allocate engineers to jobs. jobs happen on a specific day and an engineer is not allowed to be allocated to more than one job on the same day. when i move a series of jobs along by one day, how can i ensure that by moving the job (hence the engineer) along, they do not conflict with other jobs that the engineer had for that day am i supposed to load everything into memory and cycle through them are there any shortcuts or techniques for this sort of thing As the scheduler goes on for ever (there is no end date), i would have to check all the way up to the last task. doesn't seem right. I suppose it might be down to the way i arrange my classes. I dunno. just wondered if anyone had any ideas or li ...Show All
.NET Development .NET Framwork 1.1 and 1.1 Hotfix (KB886903) redundant?
I'm trying to keep a clean development workstation and I would have some questions about the .NET Framework. I have the following installed on my workstation: .NET Framework 1.1 .NET Framework 1.1 Hotfix (KB886903) .NET Framework 2.0 The installed size for the two 1.1 installs is 999.00 MB and the size of the 2.0 install is 142.00MB Questions: Are the two 1.1 installs redundant Can one of them be removed Why is the installed size for the 2.0 framework so small Does the 2.0 framework overlay the 1.1 framework such that I should not uninstall the 1.1 framework How do I know if I have applications that depend on the 1.1 framework Can I simply uninstall all version of the .NET Framework and reinstall only 2.0 Would this ...Show All
SQL Server Excel flat file connection manager error.
Hi There I am having some issues with dts packages i have migrated using the package migration wizard. One of the connection managers points to an execl flat file source. I have not altered anything after the package migration, the conenction manager is using Native OLE DB\Microsoft Jet 4.0 OLE DB Provider. When i test the connection i get the following error : "Test connection failed becuase of an error in initializing provider. Cannot start your application. The workgroup information file is missing or opened exclusively by anotehr user." Ok i am 99% sure this file is not being accessed by another user, the rest of the error is greek to me. Looking on the net for this error it has to do with access database se ...Show All
SQL Server in-place or side-by-side upgrade
Hi, I work with very sensitive data and do not want to do any in-place upgrades. Does anyone know of the risks (or some documentation) involved with an in-place besides the rollback. I would prefer only to do only side by side upgrades. If you are saying it is a sensitive data and cannot afford any longer downtime, then I would suggest to go by side by side upgrade then in-place upgrade. If anything happens that needs a server rebuild then it is a bigger, not an easy task. IMHO its better to perform side-by-side to avoid such last minute surprises. ...Show All
Visual Basic problem with retrieving data from serial port
Hi; I try to retrieve 8 byte data from com 3 however it is not working properly. I dont know what is wrong with my program! Actually compiling does not give any error, however according to coming data, program should send a "y" stand for yes or "n" stand for no. Although I enter the correct data and expect "y", it sends "n" generally. As far as I understand there is a data loss caused by visual basic. Because when I try hyperterminal, it works fine. Plus, after a few try, it is locking up and program freeze and doesnt give any response. The complete code is below! Thanks in advance! visual basic code: Sorry, VB6 and the MSComm control is ancient technology and no longer supported. Try po ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Math Help
I'm Trying to calculate an angel then convert it into float. Here Is my code so far Double MyY; Double MyX; Double MyAngel; Double Myangel; Double myangel; public void Anglr() { MyY = (dest.y - origin.y); MyX = (dest.y - origin.x); MyAngel = Math.Tan^(-1)(MyY / MyX); Myangel = Math.Round(MyAngel); float.Parse(myangel); } This has th problem can't convert from double to string. And I can't get the value in the first place. Math.Tan^(-1) is meant to be tan to the power of -1 this also gives me an error. any suggestions mpipe again wrote: Also, it's spelled angle. Angels are the spiritural from god. LOL. The irony. Might want to take the plank out of your ...Show All
Visual Basic Program Handle Count
When I run my application, after a few days of being open, the handle count gets up to like 2,000 in task manager, and eventually crashs. Is there a way to prevent this Right, but there isn't a one-size-fits-all solution. Without additional information on you applications specific situation, it is nigh impossible to come up with a solution. What is your application's purpose and perhaps give us a rundown of its components. Target problem areas that may be causing this "memory leak" of sorts. ...Show All
Visual Studio 2008 (Pre-release) ASP.NET 2.0 Web Events and FaultExceptions
I found that unhandled FaultExceptions are not recognized by the ASP.NET 2.0 Web Events health monitoring feature. I'm still on the last RC, so I'm wondering if this is corrected in the final release of .NET 3.0. As a workaround, I have found it necessary to catch FaultExceptions and wrap them in a new Exception using the overload that sets the FaultException as the inner exeption of the new error. This results in an error that is properly handled by Web Events. FaultException is intended to model application fault messages. Put another way, a FaultException is a 'normal' event, so this might explain the behavior you are seeing. That said, I honestly don't know much about how WCF interacts with health ...Show All
Visual Studio Express Editions web developer express
I had an unrelated crash which resulted in the loss of my downloaded version of web developer express How can I get another download You can get the download here: http://msdn.microsoft.com/vstudio/express/vwd/download/ ...Show All
Visual C# Help Converting Encryption Code From Java/JSP to C#/.NET
Trying to figure this out and it has been killing my brain for quite a bit. Trying to convert this JSP/Java code into C#/.ASP.NET for entering information from a user login page to match it against the database of hashed passwords. java.security.*; public class Encrypt{ String passwd; public String getPass() {return pswd;} public void setPassword(String pswd) { MessageDigest sas = MessageDigest.getInstance("MD5"); byte[] tmp = pswd.getBytes(); sas.update(tmp); passwd = new String(sas.digest()); } } //separate java function which logs into DB for password retrieval which I minused out... public class Login{ public String EncyptPswd(String strPass){ if (strPassword == null) {return null ...Show All
Windows Forms List Box Problem
Ok, I have a listbox with some items in it, Now, i want it to be, when i click on this item, it will know what item i clicked on and will display a number in a label. I already know how to code how it will display the number into the label, but how do i set it up so, when i click on it, i can enter code for that text, Hope that made sense, Thanks ahmedilyas wrote: in the listbox, you implement the Click event. In designer view, select the listbox and look at the events property (click the lightning symbol in the properties) and double click the "click" event. Then in this event, you simply show the item number selected. The selectedIndex will give you the item number selected (the index) and is 0 based: if Me. ...Show All
Visual C# creating a file in client side
Hi , I am a newbie in C# language. I want to create a XML file in client system whenever a button is clicked.(The button is in WEBPAGE.) .Is it possible Can any one please help me Thanks, justindhas. Dear Justin, For security reasons, you can not save anything on your clients machine (except cookies). Please explain more about you problem, maybe I can help you. ___________________________________________ May the God blessings be. LotraSoft Ltd. ...Show All
Visual Studio Express Editions VB Express Hotfixes
Since there's no official support for VB 2005 Express , is there any way to get hotfixes from Microsoft I'm interested in KB917452 , in the "Applies To" section appears "Microsoft Visual Basic 2005 Express Edition" as one of the products affected. But I don't have any clues on how to get the bugfix. Any help TIA. J. Amselem Don't say self explanatory until you have tried it! As far as I can tell, you have to sign up for paid support, or pay for a phone call, and then maybe Microsoft will cancel the charges IF they decide that their hotfix did indeed solve the problem! Hardly self explanatory. How about taking us to a page where we can just click a link to download the hotfix THAT would be self explanat ...Show All
Visual Studio intellisense doesn't work
in vs sdk 2005 c# sample project project,add a reference but when editing the source code the new add reference intellisense doesn't work Hey Chris, Which version of the VS SDK are you using This is a known bug in one of the older releases, but we believe that this was fixed already. Please download the latest release from here . If you are still seeing this problem with the latest release, feel free to post again with more details on how to reproduce the problem (which sample, how to get to that state, etc.) thanks, James Lau Program Manager, VS Ecosystem ...Show All
