Iain Howie's Q&A profile
Visual Studio Express Editions VB6 to 2005 Control Arrays
Can someone please tell me a little bit more about Control Arrays after upgrading VB6 to 2005 There are 7 images which use the same click sequence, and they are all named Card. The following is a sample of the code: VB6: Private Sub Card_Click(Index As Integer) If Card(Index).Picture = Image2.Picture Then Safenum = Safenum + 100 Card(Index).Picture = Pile(1).Picture Call Nextmove Call Enemymove Exit Sub End If End Sub VB 2005 ...Show All
SQL Server First or last row in T-SQL
Hi every body I want to know what is similar to Last and First in Group By cluse like Access 2000. I want to get last row of a column at the same time as get sum of another column hi koosha, i'm not sure if this is what you want select max(orderid),customerid from dbo.Orders group by customerid select min(orderid),customerid from dbo.Orders group by customerid &n ...Show All
SQL Server Remote Access - How To & Security Concerns
Is anyone familiar with how to enable remote access to SQL Server 2000 ...and what are you security issues surrounding this Any help appreciated. Adamus I guess you have to be a bit more specific to let us help you. WHat do you mean by remote connection, a connection beyond a firewall HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
Software Development for Windows Vista XPS Document Writer on XP
Is the XPS document writer supposed to work on XP SP2 I installed it on 2 machines and it keeps on crashing. I tried printing to it from notepad, IE, other apps. They all crash. Maybe the printer driver on the WinFX November CTP is Vista only Thanks, Albert Hi, set winprint as default print processor.This will solve your problem. Kind regards, Kuskaya ...Show All
Visual Studio Printing Crystal Reports
Im using VS 2003 and Crystal Reports 10. Im trying to print a report to the default printer without opening a print dialog box. I have a table with IDs followed by text that populates the fields of the crystal report. If I use the crystalReportViewer1.PrintReport(); method, it uses the selection string to pull up the correct data, and will print, but it opens a print dialog box. If I use ReportDocument.PrintToPrinter method, it will print to the ...Show All
Visual Studio StoredProcedure, parameters not working in Crystal .Net loading
I use Visual Studio 2005, I create some basic stored procedure on my SQL server 2000. Then i create web project and dynamcli create ReportDocument and fill parameter @id with some value crReportDocument.SetParameterValue(0, 6); or crReportDocument.SetParameterValue("@id", 6); when i load report crReport.ReportSource = crReportDocument fails with error Failed to open a rowset. Details: ADO Error Code: 0x Source: Microsoft OLE DB Provider for ...Show All
SQL Server Using stored procedure or not?
Hi, I have a table which consists of: -an id (primary key) -a type -a subtype -a userid Depending the type and subtype I have to fetch records in other tables. This has to be for one user, grouped by each type/subtype For instance: type= 1 and subtype=1; type=1 and subtype=2; type=2; type=3 and subtype=3; type=3 and subtype=4; type=4 and subtype= between 5 and 10 I tried creating a stored procedure, with cursor in it, but it is only returning th ...Show All
.NET Development Transfrom Memory XML and send output to client
So i am loading a base XML file. Modify this file in the memory, load an XSL that should convert it to a nice HTML page. however, i have no clue as to how i can send the transfrom results to the client! here is what im doing: //the classes public abstract class XMLWorker { protected XmlDocument xmlDoc = new XmlDocument(); protected XMLWorker() { } } public sealed class XMLPageCore : XMLWorker { public XMLPageCore(string Path ...Show All
.NET Development Socket.EndReceive question - in which scenarios does it return 0 (zero)?
Hi, I have an application that works just fine. I am puzzled by the following issue though - in certain scenarios, Socket.EndReceive returns 0 bytes. According to the documentation, this happens when the remote host calls Socket.Shutdown or closes the Socket in another manner. Generally, I observe this to be correct . However, there are several types of apps (remote hosts) for which this does not hold (the code is not mine so I cannot see ...Show All
Visual C++ MFC42.DLL error message
I can play most any online games and remain connected except for spades. As soon as the 4th player or the bidding starts, i get booted out of the game with an error msg.that the program caused an invalid page fault in module mfc42.dll at 06....etc some numbers. I have tried different things such as upgrading sun java, upgrading that mfc42.dll, turning off my firewall, downloading directx9. Nothing works. I have windows 98 se. PS. when i ...Show All
Visual Basic I can't see the images with shadown
OK. Here is my question... I need to use a picture like an skin in some windows forms, the problem is... my pictures use a border with a little shadown, ok my windows form don't render this, how can I do my forms show this border correctly. Thanks... Fernando from Nicaragua. Thanks Dustin. But I think this only change the border for the picturebox, not for my picture (image). I have a picture, like a square.. ok, I have it, but my square ...Show All
System Center Disk space used
For the Utilization by resource Simulation result, does the utilization refer to disk throughput utilization or disk space utilization If it is for disk throughput utilization, how can I find the disk space utilzation It would ben really good to know how big the Exchane databases will grow and how many log files will be produced over a given period. Thanks. Ben .. For a given deployment, SCCP calcul ...Show All
Windows Forms possible to use VS 2003 IDE "server explorer" behaviour?
hiya, I really like the way that server explorer: 1) stays collapsed at the left hand side of the screen when it is not in use. 2) expands to cover a small area when the mouse hovers over it. I have a fairly busy winform wher ...Show All
Visual Studio Team System Adding "Text" to Forms in Custom Work Items
I want to add default text to a work item field where people will answer questions...I don't want to deal with new fields as the number and type of questions may change over time...for instance, on the code review work item type, I want to put "guidelines" on the "Purpose" tab to list out the questions to answer related to the purpose...any ideas You can use COPY or DEFAULT rules for that. Y ...Show All
Visual Studio Express Editions Creating Setup Programs Using Express
Hi there; I am switching from VB6 to the .NET and thought learning C# would be very interesting. But there is an important question: How can you make installation software for you appliaction using Express In VS6 (VB6 to be more exact) there was Deployment Wizard. What to use in Express to do that or should I upgrade to Proffesional or some other version. Thanx very much in advance. The only supported setup mechanism within the Ex ...Show All
