Romano.Scuri's Q&A profile
Visual C# SDE 3.2 Visual Paridigm Professional - javaw.exe hang
Selecting 'Application Options' from 'Modeling' on the Visual Studio 2005 (XP2) Menu bar, brings up the required window and . . . hangs. The Visual Studio windows title bars then shows '(Not Responding)'. And only killing the processes via the Windows Task Manager gets rid of them. This hang sometimes occurs the very first time the option is accessed within a session, sometimes on a subsequent access, but hang it will . . . I understand that javaw is java without its 'DOS box' console and that it could be waiting for a response from the user - via the non existent console window! Anyone got a solution for this. Eddie ...Show All
Visual C++ Replacing Once
Hello, I'm creating an application in Visual C++ 2005 in which I need to replace a certain char in a string only once to a certain value. For example, if I have the string "2113" I want the string "2913" (Replacing only once the '1' with a '9'). Is this possible With Thanks, Gal Beniamini. Hi Gal, I don't believe that there is a built in method that does this. I would use the some algorithmic forums for such issues like: codeproject.com pr codeguru.com for such general "how to" issues. Try some algorithms yoursel ...Show All
Visual Basic Using Google MAPS in a windows form
All, Is it possible to use google maps within a windows forms rather than a web form (Or is there a work around). I currently use the mappoint web service which is OK but doesn't really look the part. Any suggestions, Cheers Hi, Yes, it's possible to use google maps in your windows forms application if you host the Microsoft Web Browser activeX control in your form (c:\windows\system32\shdocvw.dll). Best, Radu. ...Show All
SQL Server Problem with a Replication with two publications
Hi. I have a database with two publications. One publication is used to replicate data among 4 SQL Servers, while the other is used for the replication with SQL Server CE clients. The problem here is that the SQLCE receive a number of changes that it is not correct. Before establishing the publication for SQL Servers the SQL CE clients were working great, but now i have this problem. Is there any patch or fix I should install on the server , or do you know how can I solve this Thank you. Omar Rojas can you give more details about your setup Is this tran or merge publication what errors are you getting are there tables belonging to ...Show All
Smart Device Development Coding Error
Hi all, I've got some errors I need your guys help. The error of: Value of type 'Integer' cannot be converted to 'System.UInt32'. occurs within this function. (In red) Private Shared Function AllocHGlobal( ByVal cb As IntPtr) As IntPtr Dim hmem_Renamed As IntPtr hmem_Renamed = LocalAlloc( &H40 , System.Convert.ToUInt32(cb)) Return hmem_Renamed End Function Another error is: Project-level conditional compilation constant 'DEBUG,TRACE : CONFIG="Debug|Pocket PC" : DEBUG=1 : TRACE=1 ' is not valid: '=' expected. Can anyone help hmem_Ren ...Show All
Visual Studio MSBuild is not copying the assembly to the output directory.
For some reason, when I compile projects using MSBuild, it occassionally fails to copy an assembly to the output directory. No errors occur, the assembly is built correctly to the obj directory, and compiling the project a second time using MSBuild seems to work fine. The MSBuild output seems to indicate that the file was copied without any problems, however, the file is not in the output directory. I had the same problems with using VS from the command line (not surprising of course). Any suggestions We have over 200 projects. Having to compile multiple times to get a project to compile correctly is not a realistic alterna ...Show All
SQL Server Running a SSIS package remotely on the SQL Server
We have a package (which uses SQL Server Destination Task) imported in the SQL Server. Is it possible to invoke this SSIS package from a remote App Server through C# .NET. We would like to execute the SSIS package in the SQL Server itself and pass on the results of execution to the calling C#.NET application via the output variables declared in the SSIS package. Thanks, Loonysan You can do this with relatively few lines of code from either a remote component or a Web service, by using one of the Load... methods of the Application class, then calling the Execute method of the package. -Doug ...Show All
Visual Basic Compile Issues
Ok So the problem is I have a ascx control called control1 Control1 makes a reference to control2 Upon delcare of control2 inside of control1 i have an error "Type control2 is not defined" But there in the same project. The Kicker..!!!!!!!!! Ok i can installed this(Move the files) to a 2003 server and it does not work. I can reget version out of source safe and put it on the 2003 server and it works. I edit a file and reput it on the server and it does not work any more i get error unable to declare control2. There is no real error that is happen execpt it would seem that the runtime compile ...Show All
Smart Device Development Dual target platform development
Hi all. I'm working with an application on the windows.net platform under VS2003/C#. The user shall have two optional programs, running on Pocket PC or Windows XP. So in the near future I need to port it to a smart device project. Of course, I want to keep the most of my source files in the same directory so that modifications I do on one platform, will reflect also on the other. I understand of course that there are some diffrences to handle such as the file system, ports, and screen. I have written the application keeping .NET Compact Framework restrictions in mind. My questions: 1, How can I set up a smart device project to use t ...Show All
Visual C# .NET winform application. email function is pointed to the SMTP server of Linux. But it showns "Pickup" folder is not existe
Dear All, Now I just finished my winform application. And a part of that is to send email reminder to the users. It's working fine in the server that with SMTP service in Windows 2003. But now the user wants to used the Linux server to send email messages. (already installed the SMTP service in that). Unfortunatelly one error shown after the sending funciton invoked. It shows "Pickup directory is not existed,x,x,x,," It's well known that in SMTP service of windows system. There are several folders in the C:\Inetpub\MailRoot, "Picker,BadMail,Queue,etc.". When one email message is created. It would first to into "Picku ...Show All
Visual C# Editing project references in visual studio 2005 project files
Currently, if you add a reference to a project that is outside the folder structure of the current solution, but on the same drive, you will get a relative path in the HintPath of the .csproj file. The only problem we have with this, is that the reference will be to a DLLat an exact location, so switching between debug and release build will still reference the same DLL. I've found that you can edit the HintPath in the .csproj file to use the expansion $(Configuration) and the referencing project will use the appropriate version of the DLL. So for example I change: <HintPath>..\..\..\Solution1\ClassLibrary1\ClassLibrary1 ...Show All
.NET Development Delayed send with smtpclient in .net 2.0
Is there any way to force the smtpclient to send mail immediately with the .send method in system.net.mail 2.0 Right now it takes anywhere from 90 secods to two minutes before the mail is actually sent once the .send method executes. I've tried setting the object to nothing immediately after the .send method call, but no luck. The real issue for me is the send delay is also causing the smtpclient to hold a lock on attached files that are being sent for that same 90 seconds to two minutes. I need to move the file immediately after emailing it, and right I get an exception telling me two processes can't access the file at the same time ...Show All
Visual Studio VS.NET 2005 (June) fails to install SQL 2005 Express?
Hello, Thanks for reviewing my question. I had VS.NET 2005 Beta 2 installed on my PC and decided to uninstall it (hopefully in order) in order to install the VS.NET 2005 (June CTP). Everything seems to install expect for the SQL Express. I uninstalled everything and installed the SQL 2005 (June CTP) thinking I would use this instead of express but VS.NET 2005 didn't install. And, of course, I have read their not compatible. So, I am back to square one. I have run the cleanup tool but it doesn't seem to do anything. Any suggestions is appreciated. Thanks for your time. Peter I had this ...Show All
Visual C# Doing arithmetic on generic parameters
I'd like to write methods that perform arithmetic operations on generic (but numeric) parameters. The following code produces compiler error CS0019 public T Add<T> (T a, T b) { return a + b; } while this produces compiler error CS0072 public T Add<T> (T a, T b) where T:ValueType { return a + b; } Can this be done You might want to check this page at CodeProject. HTH, ...Show All
.NET Development FileSystemWatcher[?]
Hi, I need some help regarding filesystemwatcher class. The main issue concerned here is, when a folder is being monitored and a bulk amount of files is added/copied to that folder, I need to know when the file copy is over. I can take action one that mass of files copied later on. if "c:\myfolder" is the file monitored and if i dump 10,000 files into it, certain event are raised by the file watcher class. that's fine. But i need to know the end point of bulk copy over. Any suitable suggestions are appreciated along with code snippet. Thanks in advance. Rather than attempting to rename it, you can just attempt to open it in exclus ...Show All
