Gyða's Q&A profile
SQL Server looking for a very simple SQL Server Compact Edition app example
Hi to all, I am new to VS, hence new to CF too, Using VS2005 SP1, CF2.0, PocketPC Mobile 5.0 emulator. Im looking for the most simple example I can get to create a db and a table just to understand the very basics of SQL Server Compact Edition. I did some gui examples posted in MSDN, it worked fine, no problem. But I don't want to use the toolbox dragging DataGrid, DataSourceBinding or Northwind.sdf, or any of that. All I need is to be able to create a simple db, a table with two columns, and a connection to do very simple query, I searched and searched, cannot find my simple guide. Can anybody help me resolving this here is my test. opened a new project, named MydbTest2 added a reference ...Show All
Microsoft ISV Community Center Forums QueryTable Refresh and ODBC connection
I create a new connection for an existing external ODBC DSN data source to a database in excel sProfile = Range("F7").Value and assign that connection string to a querytable WS.QueryTables(1).Connection = sProfile When I refresh WS.QueryTables(1).Refresh False a data source dialog box always appears. I realize I could use a direct connection with ADO IF this were a SQL Server database, however the only means of connection to this particular datasource is via ODBC. The connection string contains the DSN name so why the prompt for the Data Source Box Is there anyway around the prompt of this dialog box. I want to use refreshall, but this box is a real pain with 100+ querytables. ...Show All
SQL Server BIDS - Error on design surface of Calculation tab in Cube
Has anyone seen this Within 'Business Intelligence Development Studio' (BIDS) with a cube opened and the calculations tab selected, the design surface displays a message that reads: Unexpected error occurred: 'Error in the application.' This occurs in any project I open and it still occurs when I restart BIDS or the computer itself. Any ideas Can anyone suggest a remedy Here it is: C:\Program Files\Common Files\System\Ole DB\ Filename: msmgdsrv.dll, Version: 9.0.3009.0, Date: 8/16/2006 10:36 AM Filename: msmdlocal.dll, Version: 9.0.3009.0, Date: 8/16/2006 10:36 AM So what action do I take Do I rename the existing (older) files (to something like msmgdsrv.dll.old ...Show All
.NET Development Display results to the end user as it appears in the 'Autos' window of debugging
Hi, Can I display the resulted objects to the program user in a 'tree view' as that appears in the debugging window 'Autos' Thanks, Aya. Ok,thank you. I have tried it but: when I use the sentence: Object2Tree( this , treeView1); it results the tree of the Form , when I use my own object instead of 'this', the resulted tree is empty and the value of the 'props' in PropertyInfo [] props = t.GetProperties(); = {Dimensions:[0]} Here is the first lines of my own class ' TextPreprocessingClass' : using System; using System.Collections.Generic; using System.Collections; using System.Text; using System.IO; using IndexAuto; using SearchAuto ...Show All
Windows Live Developer Forums Using the DashBoard Control from v3 in v4
I noticed that the dashboard navigation control in v4 looks different than the one in v3. Does anyone know of an easy way to get it back to the original format without having to implement my own custom version of the dashboard (navigation arrows, etc...) Regards, Beezle From my knowledge there is no way to go back to the V3 dashboard. You'll have to hack up the current V4 dashboard to make it look like the V3 if your really daring ...Show All
Windows Forms Window animation - painting slowly / tearing
Hi, I've got a form that has a link label. When the link label is clicked I make a panel visible and expand it's size from 0 - full size in a seperate thread to make it look like a drop down menu. The animation works fine but all of the controls in the panel are black until the animation has finished. If scrollbars were visible it was drawing lines all the way across the panel (everywhere the scrollbars had been). Anyone know how to prevent this Thanks. Here's an example, the black squares are labels or checkboxes: Picture Here ...Show All
Visual C++ Compile assembly language program in Visual Studio 2005
I am curious how to compile an assembly language program from the IDE. The program is in full segment definition and I can compile and link it using ml and link on the command line, although, I would like to be able to do the same thing from the IDE. The only examples I can find are for compiling inline assembly for previous versions of Visual Studio. That said, I have just upgraded from visual studio 6 so the interface is a bit new also. Some steps to do this: 1) create a Win 32 Console Application project (for example). In the project wizard go to the Application Settings page and check Empty Project option so you don't get any C/C++ files. 2) Add the assembly files to the project. Altough ther ...Show All
Visual Studio Microsoft.VisualStudio.Modeling.Integration (from MSDN article)
The article on DSL/GAT integration was great, but where is this "Microsoft.VisualStudio.Modeling.Integration" library/service the article talks about Aaron, You can download it from here . Edward ...Show All
Visual FoxPro VFP9 Installation
Hi gurus I in the process of installing VFP 9 on my server w2k sp4, it looks and tells me that prereq are needed and three componets came up runtime files,data access something and soap toolkit. only de data access component was installed but runtime files and soap don't want to install. I tried to install indivudually as per troubleshooting from wcu folder within the VFP cd but it hangs. where do I start my troubleshooting to install the runtme files and the soap in order to install my VFP, it seems like without this compnents VFP9 wont install. Thanks for all the help First, you may check that, may it's working with vfp 9 : http://support.microsoft.com/kb/824850 ...Show All
Smart Device Development Discovering OS version / device model number programatically.
Hello. We are developing the same app for 2 different devices. They are running WM 5.0 and WM 2003. The proxy string which one uses does not work for the other and vice versa. One likes "192.168.10.3" and the other likes "http://192.168.10.3". So I need to discover at run-time either the OS version or device model number. I've not been able to find this info anywhere. Does anyone know of a way to do this Thanks in advance Lee. I make a call to KernelIoControl in a C# program to get the device ID and platform ID. The device ID is typically the serial number of the device. The platform ID is typically the model number of the device. I can upload sample code if needed, or you can review t ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Render to Texture with moved camera
Hi, I'm trying to make a picture-in-picture sort of scene. I'm experimenting with render-to-texture and I have successfully rendered my current scene to a texture and placed it on the back buffer, but if I try to move the camera while doing this I get some strange artifacts. It looks almost like parts of certain quads are being clipped, but I can't think of any reason that would be happening. Basically here's what I do to render a frame to texture: 1. I set my new render target, setup render states, and clear the device 2. I adjust the camera and set the view transform 3. Render quads 4. adjust camera back to it's old position, set view transform 5. set render target back to the back buffer If the camera stays in th ...Show All
Smart Device Development PictureBox displays white background
Hi, I need to develop a menu form which contains icons and when user clicks those icons they will be directed to respected forms. Easiest way is to use PictureBox and set PictureBox.Image property to icon images. For this, I'm using .ico format of images since PictureBox can accept that. Then i handle the click event of those PictureBoxes. It works just fine except those PictureBoxes can't display transparent background, instead they display white background. No matter what color I chose for the BackColor property, they still produce white bground. It took me hours to think what is going wrong. I googled this problem and some say PictureBox can't display transparent bground. Kinda weird here, it is not just fail to go transparent, Pi ...Show All
SQL Server Error Processing Cube on 64-bit server
We are in the process of migrating to a new 64-bit server. We changed the data provider for the cube from "Microsoft OLE DB Provider for Oracle" to ".Net Provider\OracleClient Data Provider" for the 64-bit and when we try and process this cube, we get the following error: Errors in the high-level relational engine. The following exception occurred while the managed IDataReader interface was being used: Value was either too large or too small for a Currency.. This very same cube was able to process on the 32-bit server just fine. The field that the error refers to is a number(28,0) in oracle and is fully populated in the database. I set up a simple cube on my laptop and if I cut the value in the field down to 15 ...Show All
Visual Studio Team System LatestVersionSpec Class 2006.06 versus 2006.07
I downloaded the 2006.07 drop of the Visual Studio 2005 SDK. The api for class LatestVersionSpec has changed from what was published in help in 2006.06 and 2006.07. When I look at the dll's I am referencing (Private Assemblies) they expose as per the 2006.06 api documentation not the 2006.07 documentation. It may go beyond this class but I have run into the issue with this class as of now. Does the 2006.07 docs represent changes in SP1, or should I be referencing a different set of dll's in order to get the 2006.07 api calls Anyone have any insight Which methods look different for you Michael A quick glance using intellisence and the methods seem to match up with the help file to me (but I only just had a quick check now as ...Show All
Visual Studio Express Editions Im a noob !HELP! plz
So anyway it has been a while since i have fooled around with VB. Just wondering if anyone would be willing to help me a little. So my idea is basic im sure. I want to make a simple program that has two buttons, two text boxes, a calander, and a print button. It will keep track of the time i work. a clock in and out button and two textboxes for them. heres the problem i dont know how to save the date and the time in the txtboxes to notepad or how to print that document. I also thought maybe i could eliminate the text boxes and just when i press clock in save the date and time to notpad. Any suggestions. Any help please. Thanks. Files are saved in the MyDocuments folder, named like so: In_10-20-2006 ...Show All
