Akuyume's Q&A profile
Smart Device Development The process can not access the file because it is being used by another process.
I have some issues related to WebBrowser Control in .net cf. And in its URL Property I am assigning one .htm file. In that .htm file we are setting the backgroung using one image file "#BKGROUND#" , "\"" + FilePaths .stStrImagesFolderPath + @"\backgroundImage.jpg" + "\"" But sometimes, specially while doing fast navigation , Its throwing exception "The process can not access the file because it is being used by another process." Sometimes its coming for .htm file and sometimes it comes for backgroundImage.jpg file. How to avoid this. Kindly help. Subhasmita, I've got a couple more questions: Which platform (P ...Show All
Visual C++ Debug and Release Mode produces slightly different numerical result -- why?
I have built a debug and release version of an application that produces a numeric output value. Most of the time, the two values match but occassionally there is a slight difference in output value (off by 1 at the very last digit). For example, The Debug version might report a value of -0.00003998 4 while the Release version reports a value of -0.00003998 3 What are some possible causes for these differences I know that the Release version has optimizations (such as not zeroing out memory or checking memory access beyond array boundaries) that might cause problems (such as crashing) but I was surprised that there are differences that might cause some slight differences in numerical output. ...Show All
Visual C++ Compile C++ Code without a dependency on MSVCR80.dll
I'm trying to write a C++ application that can run command-line without any help from Microsoft. Meaning no .Net installed at all and no Visual Studio installed at all and without dependencies on the Microsoft Visual C Runtime Libraries. The application that I wrote doesn't use anything outside of standard C++ so it shouldn't require anything and it compiles on Unix AS IS. Any help would be appreciated. 'As Is' is a bit misleading. The dependency on MSVCR80.dll is the Unix equivilent of being dependant on libc.so.*. The only difference is that in the Unix world everybody already has a libc installed, where in MS world, the C runtimes are not included and need to be installed. You should be able to avoid t ...Show All
Visual Basic How to stop vs 2005 publishing vssver2.scc!
How does one stop vs 2005 publishing the hidden system file vssver2.scc! Is this just broken, or is there a work around to stop vs 2005 spublishing this unwanted file.. Thanks. The problem appears to eb that vss 2005 is creating this file as a system hideen file ( which vss file MUST NOT BE).. As a result it cannot be excluded from vs 2005 publish list.. Also vss 6.0d did not create vssver.scc files within \bin... They just need to work together.. ...Show All
Visual Basic Problem with concatting strings on different lines in windows forms application
Code used: Dim _PatternRows() As String = cg_text_pattern.Text.Split(vbNewLine) Dim _Pattern As String = "" For i As Integer = 0 To _PatternRows.Length - 1 _Pattern += Trim(_PatternRows(i)) & vbNewLine Next cg_text_pattern.Text = _Pattern.Trim This code adds blocks after each line, how do I avoid this The issue is that the split method overload that takes a single parameter is defined as taking a char, not a string - so it uses only the first character of vbnewline, the carriage return, and leaves the line feed as the start of the next string. You need to call the overload that takes a string array, as exemplified below: Dim test() As St ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Anyone having problems with the designer?
I been working on a game that has about 6 components in it and for some reason the designer will stop working and give me this error. One or more errors encountered while loading the designer. The errors are listed below. Some errors can be fixed by rebuilding your project, while others may require code changes. Specified cast is not valid. Hide at System.Windows.Forms.Design.ComponentTray.GetLocation(IComponent receiver) Just courious if this is a bug or something going on with my code I get this when viewing a class that extends another class that extends GameComponent. I took the AssetCache<T> from SpaceWar and made it a co ...Show All
Visual Studio Express Editions Save checkbox Settings
HI again how can i save checkbox settings for example: default configuration is, if cehckbox is uncheked than program will initialize normaly, if is checked than will initialize minimized. Thanks ;P 'Create a setting called 'cb1' '(Double click on the solution explorer window, 'My project') 'Find the 'settings' tab. 'Name = cb1, Type = Boolean, Scope = user, Value = False 'On a form with 2 buttons: Public Class Form1 Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click ' chk the box Me .CheckBox1.Checked = True End Sub Private Sub Button2_Click( ByVal sender As System.Object, ByVal e As System.Eve ...Show All
Gadgets My struggling gadget production.
I am a bit of a novice w/ programming and the whole gadget concept. I am trying to create a gadget that allows me to Lock my Workstation, Shut Down or Restart the computer w/ just the click of a button. I figured it would be a simple gadget, HA! i was wrong. At first I figured i would find out what shuts down a computer... ExitWindowsEx(POWEROFF), located in user32.dll, will do it. So then I said cool maybe i can point it to that function. Well, now i dont even know if it does work cuz my gadget wont ever appear in the add list. I even dropped it into the "Program Files" fold and when i click the + button on the Sidebar the Icon shows up briefly then disappears. None of this gadget creating thing is making sense. I have tried to ...Show All
Visual C# Music
Does anybody know how to play a mp3 file ALso does anyone know of a way to trigger an event after a songf is done playing Maybe get access to its length and time it or something Steve You shoud use DirectX API or the managed directx, I don't have experience with the managed version but the native API is simple if you have to do simple things, such as play a file or get his duration; it is really difficult if you want to do "advanced" topics... After you install the directx sdk there's a lot of examples and documentation. for the events take a look at the EC_COMPLETE callback. Here some examples in delphi language, it should be clear to understand what they do, hope that helps. procedure EnumAudioDevices; var hr: HRESUL ...Show All
Visual Studio Express Editions Publishing
Hi, It seems very strange for me. I posted 2 times and they have all gone and this is third time. I want to deploy my application program on CD-ROMs. There is Publish function in VS C# 2005 Express Edittion. It creats a setup.exe and there are 4 steps in the program. 1. Checking .NET Framework 2.0 installed or not 2. Installing it if needed 3. Install my application 4. Running it. I want a different way. After the second steps above, Is there any way the setup.exe run my application from CD-ROM without installing it to computers. I can put my application into CD-Rom to burn. Thanks, the thread has been moved to the correct forum initially.... http://forums.microsoft.com/MSDN/ShowForum.as ...Show All
Windows Live Developer Forums adCenter API WSDLs
The following are the Web Services Description Language (WSDL) documents used for the Microsoft adCenter API. Production WSDLs : V5 (released 2/13/2008) https://adcenterapi.microsoft.com/Api/Advertiser/v5/Administration/Administration.asmx wsdl https://adcenterapi.microsoft.com/Api/Advertiser/V5/CampaignManagement/CampaignManagementService.svc wsdl https://adcenterapi.microsoft.com/Api/Advertiser/v5/CustomerManagement/CustomerManagement.asmx wsdl https://adcenterapi.microsoft.com/Api/Advertiser/v5/NotificationManagement/NotificationManagement.asmx wsdl https://adcenterapi.microsoft.com/Api/Advertiser/V5/Reporting/ReportingService.svc wsdl V4 (released 4/28/2007) https://adcenterapi.microsoft.com/v4/Admini ...Show All
.NET Development DataAdapter_RowUpdated event - retreiving autoincrement field
I am using RowUpdated event for retreiving autoincrement field from MS Access Database. Thi is the code for that event: Private Sub DataAdapter_RowUpdated(ByVal sender As Object, ByVal e As System.Data.OleDb.OleDbRowUpdatedEventArgs) Handles m_DataAdapter.RowUpdated If e.Status = UpdateStatus.Continue AndAlso e.StatementType = StatementType.Insert Then m_Command.CommandType = CommandType.Text m_Command.CommandText = "SELECT @@IDENTITY" e.Row("id") = CInt(m_Command.ExecuteScalar) e.Row.AcceptChanges() End If End Sub However, "id" value is not being updated. The RowUpdated event code is executed after the dataadapters Update method is called, and after e.Row.AcceptChanges, "id" is holding the correct value. but when the code ret ...Show All
Visual Studio Express Editions Pulling random names from array
I guess what I'm trying to make is a random name generator. I thought I would put the names in an array like so: code lastname = " " Dim myarray(2) As String myarray(0) = "Alex" myarray(1) = "Bill" myarray(2) = "Craig" Dim x As Integer x = GetRandomNumber(0, 2) lastname = myarray(x) This tells me that 'x' is already in the current block and stops the program before it goes to debugging. Is this close, what am I doing wrong Or, is there an easier way to do this all together I know I could use a Select Case but I was trying to condense my typing. yes, i think that seems to work...now i'm really going to show my n ...Show All
.NET Development display the contents of a serialized object to the user
Hi, I need to ask about a serialized object. If I already have serialized an object in .bin file , can I display the contents of that object to the user in the same way that I see it when I deserialize it I mean the way that the object is displayed in the debugging. Thanks, Aya. well if you serialized it, then you need to deserialize the object in order to "restore it" or "reconstruct it" and then can you show the contents of it. I will move this thread to the correct forum ...Show All
SQL Server LOOKUPCUBE Problem!
Hi, Dose LOOKUPCUBE function include "Customer Member" I use Customer Member in LOOKUPCUBE syntax and system response #Err! So, LOOKUPCUBE dosen't support Customer Member Thanks for any advice! Angi The second parameter in the LookupCube function call is invalid. To see the detailed error message, please double click on the Err# cell in SQL Management Studio and it will display the reason. Looks like you are trying to pass a set to the function and not a string. What are you trying to achieve with this query --Artur ...Show All
