Ljhopkins's Q&A profile
Visual Studio Rendering Server Report To Printer
Having just tested my applications print function with an actual printer and not the Document Imager, I have discovered that using the reportviewer.printdialog provides printouts once in a while when it feels like it, having just posted asking how to suppress the dialog box it seems somewhat ironic that the only way I can actually get the report to the printer is to display it twice per report :) I can render an image to the printer directly and it comes out every time however I am unable to print any pages after the first page. I started by taking the following article and attempting to send a server report. This seems OK however the code sample creates a stream per page, when I render I create 1 stream. Is there an easier way to do ...Show All
Visual Studio Visual Studio 2005 vs Visual Basic 2005
Personal Background : I've been programming client/server Access applications with lots of VBA code for over 10 years. Now, I'm moving into the .NET and WWW arena. Question 1: I want to get on the .NET band wagon and create WebSites as well as desktop and client/server applications. I thought I needed Visual Studio.NET. It looks like the latest version is Visual Studio 2005. Is 2005 just a more recent versin of VisualStudio.NET Question 2: Do I need Visual Basic to create Client/Server and desktop applications or is this redundant because this can also be handled by Visual Studio. Question 3: I plan on learning with Visual Studio 2005 Express and Visual Basic 2005 Express. AT what point does EXPRESS become inadequate I' ...Show All
SQL Server count function in a query
Hello SQL Experts, I have a Query which is giving me correct result. but i was interested in getting just the count of the Issues it returns. ----------------------------- select distinct T1.dbid,T1.id,T1.title,T3.name,T1.implemented_status,T69.name,T1.submit_dat-e,T1.abc_rank from ( ( ( ( ( issue T1 INNER JOIN statedef T3 ON T1.state = T3.id ) INNER JOIN project T2 ON T1.project = T2.dbid ) LEFT OUTER JOIN parent_child_links T48mm ON T1.dbid = T48mm.parent_dbid and 16780481 = T48mm.parent_fielddef_id ) LEFT OUTER JOIN testrecord T48 ON T48mm.child_dbid = T48.dbid ) LEFT OUTER JOIN sw_label T69 ON T48.available_in_version = T69.dbid ) where T1.dbid <> 0 and ((T1.issue_type = 'Defect' and T2.na ...Show All
Audio and Video Development Animation not holding.
I implemented a menu tray that raises and lowers. It worked in the first version of the iHDSim, but in the new version the menu tray raises and then disappears. Then the lower tray button key assignment will make the tray appear again and then lower. Why is the tray not staying visible <style id="BUTTON_TRAY" style:backgroundImage="url('MENU/BTN_TRAY.png')" style:position="absolute" style:x="190px" style:y="720px" style:width="900px" style:height="200px" /> <!-- effects for raising and lowering menu tray --> <g id="RaiseTray"> <animate style:y="720px;520px" /> </g> <g id="LowerTray"> <ani ...Show All
Visual Studio Express Editions WINSOCK
hi. i am using this code in an application (on a form) which includes a winsock control. Do DoEvents() Loop Until wsChat.OcxState = sckConnected Or wsChat.OcxState = sckError If wsChat.OcxState = sckConnected Then when i type this it says that the blue underlined statements in my example are "not declared". It is winsock version 6.0 (If that means anything.) Ok, but how would that fit into my application. This is the code for it (It is a chat application). There is a lot of cde, i know. Option Explicit On Public Class frmMain Private Sub AddText( ByVal text As String , ByRef Box As TextBox) 'Take the text box passed as a reference and ...Show All
Visual Basic Icons in custom-made dialog boxes
I have just created a custom-made dialog box using the Add Windows Form command under the Project menu of Visual Studio 2005. Now I've run into a bit of a problem: Remember those icons (information, question, warning, error) in those dialog boxes you're always seeing I want to know how I can implement those in my custom-made dialog box I would appreciate a response as soon as possible. Thank you. Hi, I guess you can use an imagelist control to save your images in your dialog. Just access the imagelist and display the content specified using an image control. cheers, Paul June A. Domag ...Show All
Microsoft ISV Community Center Forums Linked Tables
I want to write a vba script to change all the links in the linked tables in an mdb file to link sql server database. Also, if you think of a better way to do this than writing a vba script, tell me. If you know how to do this using the upsize wizard (which mean using the same data that in the mdb files) , I will be interested to hear too. I think this is similar to the question here http://www-new.experts-exchange.com/Microsoft/Development/MS_Access/Q_21916141.html qid=21916141&qid=21916141 Sub execute() Dim tdf As TableDef, db As Database Set db = CurrentDb db.TableDefs.Refresh For Each tdf In db.TableDefs With tdf If Left$(.Connect, Len(";DATABASE=")) ...Show All
Software Development for Windows Vista Major bug in Vista File Sharing (Peer-to-Peer)?
Major bug in Vista File Sharing (Peer-to-Peer) Description: Microsoft Vista will lockup when more than one Vista workstation attempts to access the same file in a shared folder at the same time. Steps to reproduce: 1. Install a new copy of Vista (Does not matter what version) on two different computers. 2. Install a new copy of MS Office 2003 each computer. 3. Share the Public folder on one of the machines so that other computers can access it. (We will call this Machine A). 4. On Machine A, create a new MS Word document in the Public folder and leave it open. 5. On Machine B, browse to the network share on Machine A and try to open the same Word document. MS Word will freeze and will not come back until the file is close ...Show All
Microsoft ISV Community Center Forums VBA Excel - Making MS Query from Excel using VBA
Hi guys, I am trying to generate a MSQuery for Excel 2003 using VBA. If I use only one condition (no matter which one) in the string WHERE it works, but getting error when combining the two conditions. Thanks in advance for any help. Sub GenerateMSQuery() Dim DataOrigin, DSN_Name, Description_Name, UserId, Pass, ApplicName As Variant Dim WorkStationID, DatabaseName As Variant Dim ConnectString, SQLString, SelectX, FromTableX, WhereX, SortByX As String Dim Criteria01, Criteria02, Criteria03 As String 'Setting Connection String DataOrigin = "ODBC" DSN_Name = myCompany Description_Name = myCompany UserId = myUID ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Keeping game graphics the same size over different resolutions
I implemented a virtual pixel system in Buttermilk to try and keep all the graphics of a game the same size no matter what the preferred back buffer resolution was. Unfortunately, due to accuracy problems with SpriteBatch.Draw's int-based coordinate parameters, cracks keep appearing between my tiles, and tiles sizes shrink / grow depending on how the float coordinate value of the tile translates to the int-based coordinate parameters. I've tried all different kinds of Math routines (Floor on the pos, Ceiling on the Size, Round on everything, etc etc etc) but nothing work as well as it needs to. So, I'm probably going to completely abandon the virtual pixel system. It's just not working at all. But, I still need some way to keep game ...Show All
Visual Studio Team System Schema Compare
I have 2 questions about the Schema Compare functionality in DB Pro: 1.)On a DB that has replication enabled, and is being Published from, there will be extra replication triggers on the selected table objects (e.g., Articles) that SQL Server inserts at the time of setting up replication. Further more, given two databases with identical schemas, the replication related triggers placed on the included table objects will not be named the same. This appears to be because the strategy chosen by Microsoft to name the replication triggers includes GUIDs. That said, in my particular situation, there are Update & Delete triggers on these tables, too, that we have created on our tables. So, is there some way when doing a Schema Compare in D ...Show All
Windows Forms Slow User Defined Control
I'm creating a custom control that has contained within it a large number of buttons. The code is extremely slow (taking about 12 seconds to display). I've had no success in making it faster. The problem seems to be centered around a single statement: Controls.Add(my_button_ctl); I tried to use the Controls.AddRange(...) member instead of Add(), but there was no speed improvement as was implied in the documentation. If I remove the Controls.Add() call (or AddRange), the display is almost instant. Is anyone aware of a way to speed up a user defined control that contains a large number of button controls In my case there are up-to 550 buttons contained on the control and I would like to get them displayed in under 1 second. The custom ...Show All
Visual FoxPro VFP menu bar problem
i have problem with VFP menu when i call my menu to work in VFP IDE and i write set sysmenu to rtljustify i have the required result but when i call the menu to work in top level form do mymenu.mpr with thisform, .t. and i write , set sysmenu to rtljustify i don't have the required result any soultion for this problem Greetings, ...Show All
Visual Studio Team System Team Project Creation failed...
Hi, I am using 180 day trial version of Visual Studio Team Suite. When I try to create a new team project, it is throwing the following error. Error: TF30170: The plugin Microsoft.ProjectCreationWizard.WorkItemTracking failed during task WITs from group WorkItemTracking, Explanation: Plugin error text: "Input string was not in a correct format." Can any one please help me what could be the reason Thanks in advance. I checked the same and there is nothing wrong with the text that is inserted. The same template was working fine earlier. But one of the admin guy installed active perl on the TFS server, then it started giving problems and I was not sure whether that caused this issue. ...Show All
Visual Basic Drawing Control
Hi all I am trying to create a control to do something similar as a Visio drawing, but I don't have Visio on my PC to use their drawing tool. I want to drag images from a ListView into a PictureBox or something more usefull and at the end of the day have a flowchart with alot of custom functionalities that Visio does not offer at this stage. I have managed to get the dragging and dropping done, but it drops the image in the top left corner of the PictureBox, and I want the image to be dropped at the point where the mouse is. I would also want to be able to resize the image as well as possibly reposition it once it has been added to the PictureBox. Is this possible, or are there another control that I can use/download for free Thank You ...Show All
