Ian George's Q&A profile
Windows Forms how can i cahnge the font in a MenuItem or contextMenu?
how can i change the font in a MenuItem or contextMenu i want to use the Symbol font i did it for the toolbar now i want to do it for popup menu so when i press the button a popup comes out with Symbols that the normal font dosn't have so how can i change the font or is there a way to cahnge the font of a string so when i put it it's in the new font thanks In Whidbey, this is easier, the new ToolStripMenuItem a ...Show All
Software Development for Windows Vista Windows Media Player Rich Program Handler (wmprph.exe)
The process, Windows Media Player Rich Program Handler, or wmprph.exe, which is the process that lets you play media files within folders when the "Reading Pane" is active does not show visualizations. I just see a blank black square. I am wondering if it should show visualizations, and wondering if this is a bug ...Show All
Windows Forms Tree View Label Edit
How can i use the paint event for the treeview. I want to edit a lable in tree view but after editing it and refreshing it it is showing the new values at two different node. I have the same problem however I am not using the BeginUpdate and EndUpdate methods. When the tree loads the first time, all the nodes display correctly. If I add a node, it gets saved to the database, and I clear out the tree and repopulate it for the new node ...Show All
Visual Basic use formulas stored in (external)database within VB
Is there a way to use formulas stored in a database (access) within VB. As formulas are stored in de database as "text" while containing caracters and numbers at the same time, VB wil only recognize it as text-string. Variables in that matter are not recognized. e.g. "(2 * y) / e ^ 3" is stored in database. Goal is to have VB calculate the formula after user has input the variables "y" and "e" and present the output. Working with "case select" a ...Show All
Visual Basic Using Shared methods in web applications
Hi, Using Shared methods in a standard windows vb application seems straight forward. However on a web based application, because of multiple users using the same code the pro's and con's of using shared methods is not so obvious. Are there any guidlines to the pro's or con's of when and how you should use shared methods in a web app. Thanks As far as the language and shared methods go - there is no ...Show All
SQL Server Reporting Services Query designer toolbar disabled
Hi to all , i'm trying to modify an mdx generated by query designer in "Design" mode. I would like to switch to query designer in "Query" mode but the query designer toolbar and its button "Change Type" appears to be disabled. In this project i use a shared data source and the data source type is Analysis Services. In another project I followed the first basic Tutorial on Reporting Service ("Sales Order" report) so data source it's SQL Server an ...Show All
Windows Forms SignCode CMD Line nolonger working with new cert from VeriSign
Hi , We recieved our new cert from VeriSign to sign our cab (Client side J++). Last month everything was fine with our Authenticode signcode command line below. However now with new cert it does not work. signcode -spc mycredentials.spc -v myprivatekey.pvk -j javasign.dll -jp LowX d:\fireapp.cab -t http://timestamp.verisign.com/scripts/timstamp.dll Error: Unable to open a CSP provider with the correct private key. Error: Signing Failed ...Show All
Visual C++ Creating pointer causes illigal memory access
Hello I need to wrap some functions from the Insigth Toolkit in my own DLL. This is generally no problem. I create a class whith some methods that uses the toolkits functions. Then I create some functions that will interact with the objets of my class; and only this few functions I export with dllexport. (Some kind of wrapping...) This all works fine. But I need some pointer to use in every method. So my idea was following: Are you using a debu ...Show All
Windows Forms How do you navigate a webbrowser control in another form (c#)?
I am a complete newbie at this specific stuff. At the same time I know php and javascript/dhtml better than the back of my hand - so I get lost on some terms, but understand the structure, concepts. What I am doing is cheating to&nbs ...Show All
Windows Forms Drawing reversible rectangle
I have two picture boxes on my form. One picture box is located on a scrolling panel and represents a "big map". The second picture box displays a "small map" that is subset of the "big map". What I am trying to do is display a rectangle in the "big map" that represents the area in the second picture box. The problem is that the rectangle I'm displaying with the DrawReversibleFrame() API goes away when I scroll the panel where the ...Show All
Smart Device Development C++ and C#
Hi, I outsourced a C#-code to C++ for performance reasons. I put the code int a new C++ class libary source code, did some changes to meet the C++-rules and compiled it. I looked for CLR support in the compiler options, but I can't find them. Also adding /clr manually didn't solve the problem. Subsequently I can't import the DLL into my C#-application. Note, that the application is a Smart Device Application. /cls works fine on Desktop applicati ...Show All
Windows Forms Accelerate File Upload/Download
Hi all, I would like to create an application client/server that exchange files. File size is beyond my control so the only solution I can imagine is to accelarate download and/or upload of this files. Any suggestions or recommendation will be appreciat ...Show All
Visual C# How to cast a jagged array to a rectangular array
Hello, I need to convert an ArrayList of double[] to a double[,]. But I can't find any clues on the internet how to do this. I am now able to convert the ArrayList to a jagged array: double [] d = { 1 , 2 , 3 }; list.Add(d); list.Add(d); Array arr = list.ToArray( typeof ( double [])); double [][] res = ( double [][]) arr; But now, what I need, is to cast the jagged array to a rectangular array (double [m] --> double[n,m]). Regards ...Show All
SQL Server Where is the package running?
When I ran a package directly on the machine with sql 2005 installed it ran at a fine speed. But when I used Remote Desktop to access the same client and run the same package it was much slower. 1. I think that the package is running in the memory\cpu of the local machine. Is this correct 2. Is there any way for the remote client to run the package in the server's memory\cpu TIA, barkingdog ...Show All
Microsoft ISV Community Center Forums deleting record
Do Until rst_local.EOF CurrentLevel = rst_local("Level") CurrentDeptId = rst_local("DeptId") LevelUp1 = "L" & CurrentLevel - 1 & "_DEPTID" LevelUp2 = "L" & CurrentLevel - 2 & "_DEPTID" Set rst_pplops = dbs.OpenRecordset("SELECT " & LevelUp1 & "," & LevelUp2 & ",Dept_Level,EFF_STATUS,DeptI ...Show All
