Boulderdude's Q&A profile
Visual Basic in my project i need to format a multi line text box how to do
in my project i need to format 5 lines of text in a multiline text box which contain 129 lines and i need to format its font,size,color,alingment ect how can i do this can any one help me in dooing this ...Show All
Visual Studio How to make a Domain Relationship visible in a class's shape on DSL designer surface
Hi, I whant to add a reference from Relationship to Domain class. As I undestand to to that I have to see my Domain Relationship in a class's shape on a DSL designer surface. Could somebody help me Evgeny I found some way: open .dsldefinition file in Xml Editor add <BaseRelationship> to Domain Relationship and after that it will appear as a class. So I guess I could add a reference in Xml editor and affect will be the same. The problem is: designer does not support making relationship for Domain Relationship when it's shown like link between Domain Classes and also does not allow you to make inheritance on a designer. So when you jhave done it manually and designer try to show it, it has to s ...Show All
Windows Search Technologies WDS 3.0 Beta 2 Crash srchadmin.dll
Hi! Every time I try to go into the filetypes in the Advanced option dialog WDS crashes on me. I get up a box saying "RUNDLL An exception occurred while trying to run "shell32.dll,Control_RunDLL "srchadmin.dll"". I used to have WDS 2.5 with some extra IFilters but I removed all that before I installed the beta. Thanks. Matt I think I found a possible explanation to this. I tried to install IE7 but it wouldn't let me so I checked the log and it said something about some file extensions it wanted to change but couldn't so I checked my registry and by some unknown reason I had several keys that I couldn't do anything with. The permissions on these had change and I couldn't change anyt ...Show All
SQL Server AVG MDX Function
I have been trying to solve a calculated measure using both the sum/count methods and the avg function, but neither is working for the result that I want. We are trying to come up with an average course score based on an average test score. Example: user takes two tests (test1 twice for 50% and 100% - avg = 75% test2 once for 100%) and the course average would be (75+100)/2 = 87.5%. In our MDX we are getting (50+100+100)/3 = 83.33% instead. We do have a hierarchy set based on course-->test-->test iteration where test iteration is each individual score. The overall average works the way you would typically thing with the sum/count method, but not based on how we want it to calculate AVG(AVG(test1 scores) + AVG(Test2 scorces)). I t ...Show All
Visual Basic Bitmap image problem - empty spaces at edges
Hello, I am having a problem creating a bitmap using GDI+ and Drawing2D, where the resulting image is not filling the entire width and height of the specified area. Basically there is a tiny gap appearing on the rightmost column and the bottom row. This is a problem for me as I want the image to be tileable, and with empty gaps this wont be possible. Here is a zoomed in screenshot of the bottom right corner showing the problem: http://img139.imageshack.us/my.php image=fillproblempn9.jpg This problem may be due to the smoothing or compositing mode that Im using, or maybe it is these combined with my lineargradient brush. This is the first time that Im using any System.Drawing functionality so I might be doing something blatantl ...Show All
Visual Studio Can't Uninstall Chris
I have Win XP current patches. I had VS05 Standard installed on my desktop. Just out of the blue over the weekend it stopped working. I could open it up but when I tried to open my project it just hung ( overnight ). I killed the process, rebooted the machine; nothing worked. I next tried to uninstall, and that wouldn't work either. I tried the manual 1000 step process, I could unistall Sql Server and other components but when I got the VS05 the unistall just sort of hung. I'd wanted to get this back up. I reinstalled my OS and then reinstalled VS05 and it worked from Sunday till today. Now the same thing again... Logs, what logs ... Any ideas do you have automatic updates turned on I wonder if VS SP1 ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Best way to extract vertex/index data from Model loaded via Content pipeline
I have a mesh loaded via the content pipeline, and want to extract all the vertex/index data from it to build a physics mesh for collision. However if i try to GetData on the VB (not tried with the IB yet), I get an exception of: "You cannot call GetData on a resource that was created with ResourceUsage.WriteOnly." So is there a way to either clone the data into a non-Write-only VB so i can extract it Or some way of loading the Model in a non-writeonly way N As it turns out the solution was to completely ignoring PositionIndices. I'm only using it for static meshes, could it be indices into the bone structure or something Edit: they don't seem to be indices into the bone structure... ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Reading embedded files
Hi, i've added a .xml file to my xna project for windows, i've set it to be an embedded resource, how i can i them read the file n e attempt i make seems to try to read a file from the hdd or from a url many thanks You need to use the System.Resources.ResourceManager class. For example, System.Resources. ResourceManager temp = System.Resources. ResourceManager ( "MyGame1.Properties.Resources" , typeof ( Resources ).Assembly); object obj = ResourceManager.GetObject( "foo" , resourceCulture); byte [] myFileCalledFoo = (( byte [])(obj)); Since you embedded an XML file, it was probably embedded as a string rather than an unknown file (which is byte[]). Your ...Show All
SQL Server SQL script nvarchar error
Hi, Not sure if this is the correct forum as it relates to both SQL Express and VB Express Can you help with this please: Using SQL Server Management Studio Express I can write the following SQL script which allows me to search the description column for data that contains the word "display". The declare @filter nvarchar(5) lets me set a fuzzy search level, how many characters need to match in the word. This works fine, and changing the nvarchar(5) value allows me change the number of characters that need to match. use ssop declare @filter nvarchar ( 5 ) set @filter = 'display' select stockid , description from stock where description like '%' + @filter + '%' The issue: ...Show All
Visual C++ Creating and deploying a Hello World console application
I recently installed Visual C++ Express Edition on my computer and wrote a simple Hello World program: #include <stdio.h> #include <stdlib.h> int main(int argc, char* argv[]) { char c; printf("hello world\n"); c=getchar(); return 0; } The .exe file is huge (it is 5K) and it won't run on my other Windows box that does not have VC++ EE installed on it. Does anybody know if there is a way to create a simple Hello World .exe that can run on any Windows machine Thank you. 1) Yes: all C and C++ programs depend on the C and C++ runtimes and you need to have these files installed on any machine on which you wish to run your applications. 2) No: this is a requirement with all vers ...Show All
Community Chat Physics Calculators
Hi there, I've created this program which will do A-Level Physics Calculations for you. Oh course you will not use it in an exam, it is just to help you. It tells you the method everytime you do an equation so you learn. The calculators I've put on it are as follows... Velocity Calculator Constant Acceleration Calculator Object Force Calculator Gravity Force Calculator Kinetic Energy Calculator Potential Energy Calculator Mechanical Energy Calculator Momentum Calculator Mass-Energy Equivalence Calculator There is also a error report program built into the program so if there is any problems, they will be sent to me through email. Please no spam Please take note that I am only 13, so if any of the equ ...Show All
Windows Search Technologies Windows XP Startup Issues Blue Screen!
When I start up my computer (Dell Computer) It starts up and when Windows is loading It will take about 5 seconds on that black screen before all the users pop up. Right when that's going it stops and goes directly to a blue screen Sometimes it's a dump of physical memory sometimes it's It's an error and it shuts down to protect my files. I've tried safe mode before as well I tried going into safe mode then shutting off my computer (It used to work when I did it that way) Now I can only get on my computer using safe mode with networking. I'm a serious gamer so I can't play any of my games because Direct X is disabled in safe mode. Please help Sincerely, Trevor hi guys i keep geting blue sceen to protect system i ...Show All
Audio and Video Development backgroundImage parameters
The CSS used in iHD seems to be a bit different than CSS2.0. First question: Does the HD specification cover style syntax and definitions Second question (and example of my confusion): One of the samples posted to these forums includes a backgroundImage assignment with multiple items. I'm guessing this is to define different images per state. style:backgroundImage="url('BUTTON_T1_0.PNG') url('BUTTON_T1_1.PNG')" What is the signature for this style declaration Thanks. Yes, defs = definitions. g = "group"; you can put (eg) three animate and two set elements in a group and reference them with one use="IDREF" . ...Show All
Visual C++ Getting error error LNK2019: unresolved external symbol "int __cdecl
Hi, i have written a function in one dll.i am not able to use the function in another dll.it throws linker error as error LNK2019: unresolved external symbol "int __cdecl function()" if anyone experienced above error pls let me know. Thanks, Ganesh Yes i have added the correct library in project settings.Also the dll has same function definition. Also the error ocuurs only when i build it in release mode.if i build it in debug mode it does'nt throws error. ...Show All
Visual Studio Team System Visual studio crashed 4 times after parameterisation
Visual studio keeps crashing after parameterisation. This happened 4 times in last 24 hrs. I had to reboot the machine each time it happened. The following was discovered in the VSTestHost.exe.config file [W, 760, 5, 2006/10/24 10:33:23.185 13606305149] vstesthost.exe: WebLoadTestAdapter: Stack trace for error: at Microsoft.VisualStudio.TestTools.WebStress.WebTestInstrumentedTransaction.UpdateBindingSites(String preBoundString) at Microsoft.VisualStudio.TestTools.WebStress.WebTestInstrumentedTransaction.PerformRequestDataBinding() at Microsoft.VisualStudio.TestTools.WebStress.WebTestInstrumentedTransaction.Execute(WebTestCaseContext testCaseContext, AsyncCallback completion ...Show All
