Bollwerk's Q&A profile
Windows Forms (exename) has encountered a problem and needs to close. We are sorry for the inconvenience... (VB.Net 2003)
Using Visual Basic .Net 2003 IDE (Editor) and am getting the above message at random times in a new project which receives "Windows Messages" from another program of which I have no source code. (It was done in "Visual C++ 6.0".) Running the program outside of the editor does the same thing. Also see that the actual error is 0x80000003 but the report that gets generated when this error occurs is very very confusing and offers no helpful hints as to what to look into to find the actual root cause of this issue. Have looked for a clear explanation to the 0x80000003 error but unable so far to find anything remotely helpful. Recompiled and reran the program after installing the latest Windows XP patches with the same results. Would like to FIX ...Show All
Visual Studio 2008 (Pre-release) Go On: Why VisualBrush for Words Can't Writte Words on GeometryModel3D on second viewport3d ?
I Writte words to Model3D in some Viewport3Ds, On One is right, but the other is wrong ,why Which Scene can cause this private VisualBrush CreateTextBrush(string strText) { TextBlock labeltext = new TextBlock(); labeltext.Text = strText; SolidColorBrush ForegroundBrush; ForegroundBrush = new SolidColorBrush(Color.FromArgb(255, 222, 130, 0)); SolidColorBrush BackgroundBrush = new SolidColorBrush(Color.FromArgb(0, 255, 255, 255)); //SolidColorBrush BackgroundBrush = new SolidColorBrush(Colors.White); labeltext.Foreground = (Brush)ForegroundBrush; labeltext.Background = (Brush)BackgroundBrush; VisualBrush ViB = new VisualBrush(labeltext); return ViB; } ...Show All
Audio and Video Development advanced video not playing
Hope someone can answer this one: I have successfully played an hd dvd project from a dvd which was authored and multiplexed using scenarist standard content. But now when I try to play a simple project which was multiplexed using scen. advanced content the Toshiba player throws a 4094C502 error which is a PAL/NTSC error. the files I burn are: In the ADV_OBJ map: DISCID.DAT VPLST000.XPL < xml version="1.0" encoding="UTF-8" > <Playlist xmlns=" http://www.dvdforum.org/2005/HDDVDVideo/Playlist " majorVersion="1" minorVersion="0"> <Configuration> <StreamingBuffer size="0"/> <Aperture size="1920x1080"/> <MainVideoDefaultColor color="108080"/> & ...Show All
Visual Basic i need to parse a resume which is in .doc format and extract
i need to parse a resume which is in .doc format and extract email id phone no name age dob ect can any one help me I guess one way is: Imports Microsoft.office.interop.word Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim strFileName As String Dim i As Integer Dim word As New Microsoft.Office.Interop.Word.Application Dim doc As Microsoft.Office.Interop.Word.Document Try doc = word.Documents.Open("c:\test.doc") doc.Activate() For i = 1 To doc.Words.Count - 1 If Trim(doc.Words.Item(i).Text) = "Searchword" Then MsgBox(Trim(doc.Words.Item(i).Text)) End If ...Show All
SQL Server Performance is degraded drastically after migrating to SQL Express 2005 from MSDE 2000
Hi, Recently we have migrated our application from MSDE 2000 to SQL Server Express 2005(SP 1). This has significantly reduced the performance of our Windows.NET application which is developed using C#. For example : While logging in to the application two databases are being attached. Time taken in MSDE: 16 secs Time taken in SQL Server Express 2005 : 58 secs Also note performance is degraded for normal screens where data is retrived from database using inline queries. Questions: 1) Is there any special(optimum) configuration(installation parameters) while installing the SQL Server Express 2005 setup 2) Is there any query optimization to be done w.r.t SQL Server ...Show All
Game Technologies: DirectX, XNA, XACT, etc. release date of font stuff?
on the xna lunch party, they showed some font stuff. do anybody know, when the font stuff will be released i know that there are a lots of classes etc. which implements some stuff equal to the stuff which were showed on the xna lunch party, but i want to know, when we will be able to use some stoff from microsoft Gary's stuf still works fine Over at Ziggyware there is a font creator and font class for creating your own font strips and using them in your game. Or you can try XNAResources tutorial series where he talks about adding fonts a different way Gary's implementatin seems to be the best though, although he didn't give an easy way to create other fonts. Happy coding Darkside ...Show All
Visual Studio Express Editions Registration Key ???
Where can i get the Registration Key for Visual Studio Express, i cant get it from the help menu cause it doesnt open it just ask for the Registration Key doesnt allowme to go further.. ++ I didnt receive the email with the registration key...Thanks.. What is the website that it takes you to when you click "Register Product" You can also install from the CD version if you are having difficulties registering the product. http://msdn.microsoft.com/vstudio/express/support/install/default.aspx ...Show All
SQL Server How can I display different bands (detail records) based on a key column in a table.
How can I display different bands (detail records) based on a key column in a table. Based on a key field, I will like to display a different set of columns Data is shown below keyid Name Company 1 Brenda USAirways 1 Lawrence Costco 1 Linda WalMart 2 Sarah MCI 2 Peter Dell 3 Paul Stanford 3 Tina HP 3 Felix Apple 3 Susan TDK I will like to display columns Keyid, Name when keyid is 1, Columns KeyId and Company when keyid is 2, and Columns KeyId, Name, and Company when keyid is 3. keyid Name Company 1 Brenda USAirways 1 Lawrence Costco 1 Linda WalMart 2 Sarah MCI 2 Peter Dell 3 Paul Stanford 3 Tina HP 3 Felix Apple 3 Susan TDK I will li ...Show All
SQL Server AdventureWorks Database not showing up management studio express
After installing the Adventure works database samples they do NOT show up in Management Studio Express I have done a clean install of SQL Server Express 2005 SP1 with Advanced services. The database samples only install as physical files, they are not attached to the SQL Server process. If you want to use them, go in the SSMS and right click on the Database node, choose All Tasks and click Attach database.. Locate the MDF File and the LDF File and click Apply (or OK). SQL Server will attach the databases to the SQL Server process and you can access the data. HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
Visual C# Cache
I'm looking to cache a number of tables from a DB on startup of a remoting service host. I need to cache key/value pairs, ranging from a <5 to ~100 values per table. As this is a remoting services solution, multiple readers could be calling the cache at any time. I'm thinking I have a static Cache class in as part of my remoting host project. OnStart of the service then spins off a thread that populates a series of static hashtables with the key/value pairs. These hashtables are then accessible to the calling services as-needed. Am I overlooking anything Any thread-safety issues I believe hashtable is thread-safe for multiple readers, correct All code, by definition, is thread-safe for reading. I ...Show All
SQL Server How to concate 2 ore more text fields into one field?
Hello, I hope someone has already done this, but I have a table with a text column- example ColA, now i want to run a query to select the ColA in this table and combine the results of ColA into a ColB in another table. Something like - Note: the codes below doesn't work!! DECLARE @ResultID as int DECLARE @AccID int DECLARE _rows CURSOR FOR SELECT AccID FROM tableA FETCH NEXT FROM _rows INTO @AccID WHILE (@@fetch_status <> -1) BEGIN UPDATE TableB SET Report = Report + (SELECT txtField FROM tableA WHERE AccID = @AccID) WHERE AccID = @AccID FETCH NEXT FROM _rows INTO @AccID END Thanks in advance I tested something like this:(Assume you are using SQL Server 2000 text fields) You can try it ...Show All
Windows Forms ClickOnce places a configuration file in the wrong directory
Everything works pretty good except a custom configuration file needed by the executable keeps getting placed in the in the myapp.exe folder when it needs to be in the myapp.application folder with the .exe. Does anyone know how I can control this ...Show All
SQL Server The process cannot access the file it is being used by another process.
I have a File System Task Copy file operation to copy a file in an SSIS package. The package when scheduled as a job fails with the following error: The process cannot access the file 'C:\ETL\Consignment\Apple\AppleRawFile.txt' because it is being used by another process.". However when I right click on the package and execute it manually from the Integration Services it runs successfully without any problem. I am not certain on how to resolve this issue any inputs will be much appreciated. Thanks, Monisha I'm having an issue with the cannot access file during a File System Task. I'm basically renaming the file to a an archive location after the source file is finished beign processed. I ...Show All
Silverlight (formerly WPF/E) Integrating JSON with WPF/E
I've been playing a lot with creating dynamic XAML lately and while I'm a big fan of XML it can definitely get in the way when large chunks of a WPF/E document need to be added. Since WPF/E integrates nicely with JavaScript and ASP.NET AJAX can be used, is there any chance that you're considering adding a CreateFromJson() type method so that we could feed dynamic JSON objects representing the XAML objects to the control instead of XML strings A perfect scenario is calling Web Services with ASP.NET AJAX and adding the XAML returned to a canvas. If calls are returned as JSON rather than XML, the message payload is minimized substantially and it's a lot easier and more concise to work with in many cases. It would be a nice tie-in to ASP.N ...Show All
.NET Development Is there a functional interface to ilasm
I'm wondering if there is a way to invoke ilasm passing a pointer to a stream of cil text code and then taking the resulting assembly and working with it via Reflection.Emit Or is there something in Reflection.Emit itself that can take a whole section of cil text and assemble it all at once If there is, is it possible to also pass in a pointer to the memory address at which you would like the byte codes to be written And what about the metadata; can you also indicate a target location for this Does such an animal exist Any direction would be greatly appreciated. Mike ILAsm.exe is a just a command line tool and does not expose CodeDom support. Here's an alleged MSIL CodeDom provider, http://w ...Show All
