sdoc's Q&A profile
SQL Server InteractiveSize not behaving
Hello, I'm having an issue where a report's Interactive Size property is not obeying what I tell it. My report has the standard portrait settings (8.5x11 for PageSize and InteractiveSize). However, when I render the report in Visual Studio, the pages' lengths are obviously much taller than 11 inches. Therefore, the number of pages in the viewer are much less then when I actually print the report. As an aside, if I set my InteractiveSize's height component to 7 inches, only then is the viewer close to the printed output. I have no idea where the 4 inches is going. Also, I have tried all kinds of iterations of substracting margins from my height and it brings me no where close to where it should be. Any ideas ...Show All
Smart Device Development setting datagridcolun headertext
Hello, I'm using Visual studio 2005 c# to develop smart device application. I've a form with master/detail with 2 datagrids (one for the master an one for the detail). There is a relation between the 2 tables in the dataset. The data is well displayed (correctly filtered in the detail datagrid). The issue is : when I modify the columns headertext for a column in the detail datagrid, the headertext stays unmodified. does somebody have the same problem thanks for help NETCF does not support binding to relations, so either you're not writing for devices or you have extra code to handle it: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1455&SiteID=1 As to changin ...Show All
Game Technologies: DirectX, XNA, XACT, etc. XNA talk in College
Hi, This post is mostly directed at Microsoft people, but feel free to respond anyway. I'm going to give a talk about game-development next week at our local college for the second time this year. This time I would like to go a little more indepth in XNA and it's possibilities. My question is, is it possible to get some nice XNA material from Microsoft for this Sheets, movies, demos, etc. I know there are some pretty nice sheets with the for example the layout of XNA, as I've seen them at the GDC in Leipzig last year. Thanks in advance! Maurice Sibrandi YouTube, the XNA Team blog (some nice graphics showing XNA functionality and object structure), the starter kits (Space Wars). There you go ...Show All
Visual C# Convert VB to C#
Well, i have tried at least 3 apps, to convert the code, but neither of them worked! VB CODE: For Each queryObj As ManagementObject in searcher.Get() Dim arrVendorSpecific As Byte() = queryObj("VendorSpecific") MsgBox("Temperature = " & arrVendorSpecific(101)) C# CODE: foreach (ManagementObject queryObj in searcher.Get()) { Byte[] arrVendorSpecific = (byte[])(queryObj["VendorSpecific"]); Console.WriteLine("Temperature = " + arrVendorSpecific(101)); } This ir the error i get with the C# code: 'arrVendorSpecific' is a 'variable' but is used like a 'method' ps: the VB code works fine! okey, this worked ! Po.. pelo nome voce parace ser brasileiro, me da uma ...Show All
Audio and Video Development Mutl-input and multi-output
Hello: I am writing a media source that output 2 streams. One is a video stream and another is a audio stream. When start play, I got a error code from session get event (MEError, E_FAIL -> no any meanful information). But if I Deselect any one stream, another stream will play normally. so what is the problem about this issue About other similar issue. I write a MFT which accept two streams from 2 media sources and then output a single stream to audiorenderer. After set topology and play it, I got a error about "not support topology". I don't know what is the problem It is caused by 2 media sources or multi-input MFT Thanks OK, then I'll answer the remaining ones :-) 3) MF does support topologie ...Show All
Community Chat Weakness on Google search, a user observation
I've been into research about search engine. While google algorithm is the best at the present, its business model( cost-per-click or AdWords) on which the whole business relies can be taken away by a business model pattern to Web 2.0 concept, Meaning, understanding the need of users and provide that needs and you have a loyal community of users which you can monetized the eyeballs for ads. The following is based on my observation as I used google search: 1. While I'm using google in one country, the ads shown is from U.S. If I'm looking for a product locally, that ads has no relevance to me. For the point of view of technology, this will be hard to address because it will require a huge amount of computer processing to filter this local ...Show All
Software Development for Windows Vista Vista Compatibilty with Access
Morning, Over the past ten years my department have been creating bespoke applications that in same cases required using an external small data source. Access was the database use in most cases using 95, 97, 2000 and 2003. I know Vista is a little off being ready but is it known yet if any of the above will be incompatible with Vista so we can have time to perpare the changes required. Many thanks, Dan Wright ...Show All
SQL Server can calculation be defined in SQL Server Management Studio?
hi!can somenboby hlep me,i want to know that can calculations be defined in SQL Server Management Studio And how to do it Thank you very much! Calculations are added to a new or existing cube using "Business Intelligence Development Studion" (BIDS). You could generate the script for a cube and then add the calculation by hand, but it is much easier to do using BIDS. If you simply want to create and test a calculation using SQL Server Management Studio you can add a query scoped member using a WITH clause in the MDX editor. Here is a simple example that can be run against Adventure Works: WITH MEMBER Measures.[Internet Sales x 2] AS [Measures].[Internet Sales Amount] * 2 SELECT {[Measures].[Internet Sal ...Show All
Visual Studio Team System Static Data Management
Hello, This is probably a stupid question, but I'm starting to play around with Data Generation scripts for unit tests in my database project, and I have a query about what I would call static or system data. For example, the data generation scripts take care of user data, but what about tables of types or the equavalent of enums for instance, a UserType table which contained data such as: UserTypeId | Description ---------------------------------- 1 | Standard User 2 | System administrator 3 | Editor Or similar The IDs would have to stay constant thoughout the system, so either I create a deployment script that creates the data or use the data generation tools. If I use a deployment script, will (1) the data ...Show All
.NET Development recieving
Hi im new on VB.Net . Im workin on a projecet that contains a rss Reader/Reciever and a irc client. I ' ve complated the reader but cant complate irc client I was able to connect to irc and send a message to a nick or channel but i couldnt recieve messages, status information (like mirc :D) or something from server i dunno how to do pleaze send some code examples or give advise here to help me on my project the comic one is that i dunno how to recieve informations from irc server. Im using istemci.Client.Send(getbyte( "NICK vb_ot" & vbCrLf)) commands like that to send information toserver but i dunno how to recieve informastions from the server i tried the istemci.Client.Rece ...Show All
Visual Basic how2 show "access key" underlined on button
I've added access keys to buttons on forms written in VB2003. Now, when migrating to VB2005 I see that the access keys still work but the key is not underlined in the form's button. Thanks for help ' Set the letter "P" as an access key. Button1.Text = "&Print" Note: The underline does not appear until you press the 'alt' key. ...Show All
Visual Studio Express Editions weird exception
THe below codes create an Access violation exception which I could not fix ptmp = a; sortedlist=a; //process of joining both lists, into a single list begining at a while (ptmp->next!=NULL) { ptmp=ptmp->next; } ptmp->next=b; Would you please help me Thanks There is full list of node whose head is a. p =a; then we pass through the each nodes to reach the last part and then we can merge/stick the second list of nodes to the " p ". ...Show All
Windows Forms Opening Files
Question: How do I tell my program that when a user double-clicks on the program's file in Windows Explorer(thus opening the program) to open the file Thank you. You need to create a file association for that file type and link it to your application. Here is a tutorial that takes you through the steps of creating file associations http://msdn2.microsoft.com/en-us/library/k3bb4tfd(vs.80).aspx Cheers Jeff ...Show All
Windows Forms Refreshing a read-only datagrid
.NET 1.1 Windows Forms DataGrid I have a read-only DataGrid on my main form which is bound to a DataSet. I am creating and opening a connection (let's call it connection A) to an Access database in the form's constructor, and binding in the following manner: dgRepsAdapter = new OleDbDataAdapter(@"SELECT blah blah blah", conn); dgRepsDataSet = new DataSet(); dgRepsAdapter.Fill(dgRepsDataSet, "Reps"); this.dgReps.SetDataBinding(dgRepsDataSet, "Reps"); I also have a button on my main form. In this case it shows a dialog through which the user can add a record to the relevant table in the database. This is done directly, ie: I am not allowing the user to make any changes through the datagrid. This is a straight ...Show All
Visual Basic Exe takes more than 35 sec. to load
Hi freinds, I am using vb.net 2005. The problem is when i install the project on the clients PC it take more that 30-40 sec to load. Why does it takes so much time as compared to vb 6 applications. Is there any other way to improve the performance Please Help me out. Thanks Puneet Minda HI friends, well i am giving u the code of my login form which is the start up form. I have arround 150 form in the application. The application Imports the following name spaces: Microsoft.Visualbasic System System.Collection system.Data System.Diagnostics System.Drawing System.windows.forms I hope this may give u the information about my application. if u want to know anything more please let me know. ...Show All
