J Wolfgang Goerlich's Q&A profile
Windows Live Developer Forums Polylines opacity with Firefox
Hi all, We are experimenting problems with alpha setting for thick polylines. With Firefox alpha parameter is ignored and the line is solid. We've already seen a report on this on the forum. Is this a known issue Is there a plan for a fix Thanks! Paolo the "color" parameter when you construct a VEPolyLine takes an object of VEColor. You can set your alpha level in the VEColor to what you need. Try inserting this line var x = new VEPolyline( 12 , new VELatLong(46.21758,-69.08529), new VEColor(255,0,0,1), 1 ); Hope that helps ...Show All
Game Technologies: DirectX, XNA, XACT, etc. GraphicsComponent.AllowMultiSampling
What does the AllowMultiSampling exactly do It says Specifies whether to enable multisampling if available So i tought this mean it enabled multisampling when available and disables it when not available. I'm using a ATI Radeon 9550 and when setting this to true, the application works, when i test the application on my other computer using ATI Radeon 9200 the application craches. When i set this to false it works. The error it show The values used in the attempt to create the GraphicsDevice were invalid http://www.firingsquad.com/hardware/multisamp/page3.asp ...Show All
Visual Studio Express Editions DoEvent (vb6) on .Net
I have problem on visual basic .net about the use of DoEvent. What the function DoEvent(vb6) on visual basic .net thanks And here's a direct link to the online help - this help should be available to you directly in your development environment: http://msdn2.microsoft.com/en-us/library/bd65th41.aspx ...Show All
Visual Studio 2008 (Pre-release) Binding ListView to infinite lists
Out of pure curiosity I decided to try the following on a ListView since I heard it uses the VirtualizingStackPanel. I bound the ListView's ItemsSource property to a getter property defined as public IEnumerable<int> InfiniteList { get { int n = 0; yield return n++; } } It only displayed the first item. How does the ListView populate itself from a databound collection I thought any collection implementing IEnumerable would be fine. Cool question. The problem is in your iterator. It is only returning one value and then it's done. I changed it to: public IEnumerable<int> InfiniteList { get { int n = 0; while (true) { ++n; yield return n; } } } However, my CPU just s ...Show All
SQL Server Invalid Descriptor Index error
I'm testing db to db transactional replication on a box ( all on the same box ) and the distribution agent fails with the above error. I know it's something to do with the physical server as this test works on other servers fine. SQL2k Ent sp4 on w2k3 ent sp1. ( clustered ) Server and Agent accounts are in local admins, tried push and pull, named and anonymous. Replication also fails if I use the default snapshot location. I suspect policy restrictions ( maybe on the sql service accounts ) Any pointers would be helpful - there are no errors other than above, sadly. Its seems like this may also be the problem I am having. What I wondered if there is anyway to do this without rebuilding the replication ...Show All
Windows Forms Windows Application by C# VS 2005 !!!
Hello, I have a bindingNavigator in my application, which I added a Save Button on it. What should i write in this Button's Click Event to save inserted, edited, and deleted records. I have a field that for some reason I make it null at runtime. When I'm going to save the changes on the screen, I use EndEdit() method, but as soon as use this method, it turns the value of that field from null to 1. Does anybody have any idea about this weird action !!!!!!!!!!!!!!! Is C# a good tool for developing Windows Applications !!!!!!!!!!!!! Thanks in advance. Hello, I use a Binding Navigator to add my new record. actually I don't write any code for it, I just simply use the + icon of Binding Nav ...Show All
Software Development for Windows Vista Inheriting Composite activity
I'm having a problem inheriting from a composite activity - here are the details: 1) I created a composite activity and it worked great. 2) I then created another activity that inherited from my first composite activity. 3) The VS 2005 designer re-initialized my custom properties, etc... so my project wouldn't compile. 4) I manually deleted what was basically being initialized twice and it then worked great. I compiled and ran my project without problems. Now here's the issue: if I use VS 2005 to edit my inherited composite activity (for example let's say I add a code activity), the designer will once again add all of the code to re-initialize properties, etc... Again I get a bunch of errors since these objects are now initi ...Show All
Visual C++ Console Window, Win Form Application
Hi, I was trying to open the console window for a winform applicaiton during debugging, unable to find the proper settings within project to do so. I be thankful if a related reference be posted here. Best Regards, Reza Bemanian Take a look at http://forums.indev.no/viewtopic.php t=4 for a quick explanation of my code. Brendans approach will also help, as long as you remember to implement the main method alongside winmain ...Show All
Software Development for Windows Vista Capturing video from webcam using .NET
Hi! How could I capture video from webcam (Microsoft LifeCam VX-3000) using .NET 2.0 or WinFX (.NET 3.0) and save it to WMV or AVI Actually, using WinFX (WPF, WCF, etc.) is preferable. Thank you in advance! -- Yours sincerely, Dmitry Alekseenko Have you checked out http://DirectShowNet.SourceForge.net ...Show All
Visual Basic tabcontrol pages collection within splitcontainer question
I would like to have tab pages in a collection on the right side of a split container be dependent on which tab page is selected on the left side of the split container. If I have 6 pages in a tab collection on the left side of a splitter then; 1. If the left most tab of the control on the left of the splitter is selected, then 3 specific tabs of the rightmost tab control should appear on the right. 2, If the next tab (second from the left) is selected on the left side of the splitter, only 2 tabs should appear on the right of the splitter and are different tabs than the 3 that were displayed previously. Is there a way to achieve this at design time If not, how would I achieve this at runtime. Thank you, -Greg ...Show All
Visual Studio Express Editions FATAL ERROR LINK1181
Hello people, I just installed the visual Studio Express(followed all the steps on Microsoft website) and trying to compile a simple code but I get error message: FATAL ERROR LINK1181 cannot open input file 'user32.lib' Also when I search for this fie on my computer this file cannot be found. I reinstalled the Visual Studio again & again. The same result. Please help. Farrokh Mooir Please help Farrokh Moori wrote: My library files are: $(VCInstallDir)lib c:\programfiles\Microsoft Platform SDK for Windows Server 2003 R2\Lib $(FrameworkSDKDir)lib $(VSInstallDir) $(VSInstallDir)lib The recommendation is to include the PSDK library path at the beginning, although I do ...Show All
Windows Forms Links in a FormsApp and controlling the browser
Opening links is easy, like this private void button1_Click( object sender, EventArgs e) { System.Diagnostics. Process .Start( http://www.google.com ); } private void button2_Click( object sender, EventArgs e) { System.Diagnostics. Process .Start( http://www.yahoo.com ); } But is there a way to control if the link is opened in a new browser window or an existing one Well, I'm not sure. but at least you can have a try HKEY_CLASSES_ROOT\HTTP\shell\open\command\ddeexec\Application indicates the default browser and, HKEY_CLASSES_ROOT\HTTP\shell\open\command indicates the command line passed to the browser ...Show All
Visual Basic Copy dictory
Hello I am trying to make my program to copy a folder and paste it to somewhere else. But it gives be an error when i try this. btw i am trying to make a timer do this. when i use my.computer.filesystem.copydictory will it then overwright the other files in the folder cuz i need it to do that... Just keep copy and overwright but if a file in the folder that is copyed from gets deleded it may not get deleded in the copyed folder my code: Public Class Form1 Dim hvor As String = "C:\Programmer\Wizet\MapleStory\GameGuard" Dim hvortil As String = "C:\Programmer\Wizet\MapleStory\GameGuard2" Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As Sy ...Show All
Visual Studio Visual Studio download file wont open
I downloaded the Visual Studio 2005 trial installation (twice now) and have a 2.7 GB .img file that will not open. IRFAN message is "cant read the header", "unknown format" filename is: En_vs_2005_Pro_90_Trial.img Any suggestions I would suggest burning the image to a DVD or using a virtual CD software to mount the DVD into a Virtual CD/DVD drive, MSVCD being one that pops into mind. you can also extract the ISO image/img using Isobuster for example and then run the setup from the harddisk ...Show All
Smart Device Development Problem with updating a recurring all-day appointment
Hi folks, I'm trying to modify an previously created appointment. This appointment is an all-day event and recurs by some simple rule. Updating the basic attributes ( like start time, end time, subject, location, and so on ) works perfectly. However this is not true for changing the recurrence rule ( which by the way works if the all-day-event flag is not set ). It is not even necessary to change any data. Right away when I call IRecurrencePattern::GetRecurrencePattern() and releasing this interface again, it is not possible any more to call IAppointment::Save(). It gets even stranger: This scenario works perfectly on a PPC 2003 device. It does NOT work on a new Windows Mobile 5 PPC. I've tried to change the order of the update calls, like ...Show All
