Stephen_Sbh's Q&A profile
Visual Basic Question about executing a program written in Java from an application being developed in VB .NET.
Hi, I would like to execute a program written in Java from an application that I am developing in VB .NET. Can this be done by writing: System.Diagnostics.Process.Start("java MyClass", "arg1, arg2, ..., argn") Any advice will be helpful! Thank you. You won't get it to start that way but you can get it to run as a script as long as you have a script host registered on your system: Dim P As New Process P . StartInfo . FileName = "MyClass.js" P . StartInfo . Arguments = "Arg0, Arg1,.... ArgN" P . Start () ...Show All
Windows Live Developer Forums Error
I cant get windows live to work. I keep geting this error code:8004882c Anyone know what this error is What I did was, go to hotmail and sign in, and right after it, I could sign in into the Messenger I don't know why it was acting this way all day long ...Show All
Windows Forms Firebird Exprerinces
I am intersted in talking to anyone who ask worked with FireBird (initailly InterBase) V.2.0 It is working well for me (using .Net direcoties) ...Show All
.NET Development view the soap message generated by a webservice
Hi, is there any tool available that shows me the native SOAP messages for request and response when I invoke a webservice client (implemented in c#) from visual studio I want to find out why I dont get back the expected data from the server by checking the soap message that is sent to the server. Thank you for your help, Thomas There are number of tools exist to trace server <- -> client exchange. My favorite is WebServiceStudio, you can download it form gotdotnet site: http://www.gotdotnet.com/Community/UserSamples/Details.aspx SampleGuid=65a1d4ea-0f7a-41bd-8494-e916ebc4159c Thanks, Elena ...Show All
Audio and Video Development Video Transitions and Effects missing
Hello! I got problem when I tried to make my slideshow. I could not find any transition and effect in Windows movie maker. This program displyed "Video Transitions and Effects missing" Please help me how to get them back. Thanks you so much. Regards, FFFC You have reached the wrong forum for your question. I suggest you post your question in the Movie Maker Newsgroup at http://www.microsoft.com/windows/windowsmedia/community/newsgroups/WindowsMedia/default.mspx Sumedh ...Show All
Windows Forms Q: Accessing a control from another thread
Hello everybody. I have the following situation. On the main form I have a Button and a ProgressBar. When I press the button I execute the following lines: private void button1_Click(object sender, EventArgs e) { myClass o_myClass = new myClass(ref progressBar1); ThreadPool.QueueUserWorkItem(new WaitCallback(o_myClass.Work)); } And here is how the myClass looks like: public class myClass { ProgressBar m_progressBar; public myClass(ref ProgressBar progressBar) { m_progressBar = progressBar; } public void Work(object state) { int max = 30000; m_progressBar.Maximum = max; for (int i = 0; i <= max; i++) { m_progressBar.Value++; } } } After pr ...Show All
SQL Server Matrices in reporting services
Hello All, I am attempting to produce a Summary report that will detail all financial losses incurred by a company. These losses are seperated into categories and each category has two types, direct and indirect. To date I have employed the use of multiple matrices. The problem is that if the company has incurred no losses for a specific category then this will cause the matrix to automatically cater for the lack of this column. However I want this to show up regardless of there being data... I cannot employ the use of tables...as it simply does not work! Does anyone have any suggestions Ideas All would be appreciated!! Thanks JrDevRon, You could return "Zeros" or Blank space in your SQL where n ...Show All
Visual Basic How do I make a moving object stay in a certain area?
Hello, I am pretty new to VB. I have a label that moves when I push the A,W,S or D key but I cant make it stay on the form. If I hold down the A key it will just keep going off the left side of my form. Help would be much appreciated. Or (from the previous answer) Private Sub Form1_KeyDown(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles MyBase.KeyDown Select Case e.KeyCode Case Keys.A If Label1.Left > 5 Then Label1.Left -= 5 Else Label1.Left = 0 End If Case Keys.D If Label1.Right < Width - 5 Then Label1.Left += 5 Else Label1.Left = Width - Label1.Width End If ' Similar for up/down End Select End Sub ...Show All
Visual Studio Team System TFS is lying to me!
hi, i came across another TFS problem today. have a look at this image... it shows at least two files checked out and not checked out at the same time! i pressed the refresh button (circled red in the image) numerous times in each location and i could not get the UI to get in sync. notice that the files circled in blue appear checked out in the solution explorer but not checked out according to the pending changes tab in the source control explorer pane they both appear checked out and not checked out! there is no red check mark but there is a user specified to whom they are checked out to (spelger and spelger2 are two different workspaces). in the solution explorer the MethodDocument.cs file appears checked out by someone else (spelger ...Show All
Community Chat .NET Web Browser Effort - First Preview!
Hi Guys, A couple of months ago I started an opensource effort to create a Web Browser better than IE7 in .NET. So far its going GREAT, with a team of 3 including me. As of now, source code is not offered - it will be once I get it to a Beta 2 state. Also, if anyone would like to join the project please send an email to netwebbrowser@gmail.com or add mateuszrajca@msn.com to your MSN/Live Messenger contacts list(email is preferred) Here are some stuff you can help in: Write code(C#), fix bugs in code(C#), make sourcefourge web site, report bugs, optimize code(C#), make app more responsive, make installer, graphics (icons logos) and whatever else you can come up with! Download Now Preview 1! ~Matt ...Show All
Architecture DAO pattern
Hi All, I have a question related to the DAO pattern I have seen a project in which , we had a single factory for the whole database and helper classes for supported databases. I think that would be better pattern to address transaction and connection problem compared to DAO in which we have single factory for each table. Can you please guide me what prompts us to have factories for each table rather than for whole application. What are advantages and disadvantages in these two approches Please provide me with your comments Hi DeborahK, Yes, i am asking about the same pattern's advantages and disadvantages over DAO pattern in which we create one factory for one table. If somebody c ...Show All
Visual Studio How about a Package? Can a Package access ICorDebug?
I'm integrating an API level debugger into VS 2005 as a package. How do I get access to ICorDebug Specifically, I need to be able to run/suspend threads, get/set thread contexts, and modify thread IPs. All of this can be done via ICorDebug according to MSDN and Mike Stall's blog. Is this possible Thanks, Grem ...Show All
Windows Forms Windows service uninstall/install issue
I have a WCF application which I want to expose as a Windows Service. The windows service starts but fails to stop due to some exception in the Stop() method implementation of the installer class. When I try to stop the service it gets into disabled mode, and I am unable to uninstall the windows service. Please help me to remove the windows service from the system Thanks. I don't think it's your installer class that's broken, it's the code in your OnStop in the service, so add some diagnostics to it. As a way to fix up your system and delete the service, the WMI Win32_Service class will do it. Enable the service then use this VBScript as an example, with your service name instead: dim servicelist, service, fso, a, plist,p ...Show All
Audio and Video Development windows Media Encoder Codecs Problem
Hi every body! I have installed Windows Media Encoder 9 series on my machine and I did update my video codecs on my machine. But Windows media encoder doesnt show me the new codec I just installed (ISO-MPEG 4). I tried to do the same on a different PC and it worked perfect, I am able to see the new video codec in windows media encoder. Can someone explain me what is going on How to fix that issue the video codec I am trying to install is ISO-MPEG 4. Thank you. Try posting your question here: http://www.microsoft.com/windows/windowsmedia/community/newsgroups/WindowsMedia/default.mspx dg=microsoft.public.windowsmedia.encoder&lang=en&cr=US ...Show All
SQL Server "Failed to load expression host assembly. Details: StrongName cannot have an empty string for the assembly name. "
I previously had an ASP.NET 1.1 site running on my IIS 6.0 server ( not the default website) with Reporting Services running in a subdirectory of that website. I recently upgraded to ASP.NET 2.0 for my website and was greeted with an error when trying to view a report. The error was very non-descript, but when I checked the server logs, it recorded the details as "It is not possible to run two different versions of ASP.NET in the same IIS process. Please use the IIS Administration Tool to reconfigure your server to run the application in a separate process." First of all, I could not figure out where and how to do this. Secondly, I decided to try to also change the Reporting Services folders to run ASP. ...Show All
