Ceefour's Q&A profile
Visual Basic my.computer.printers
In another post Huy Nguyen - Visual Basic team. wrote: Hi, In Visual Studio 2005 we've tried but could not find a good enough solution for My.Computer.Printers. Due to the resource constrain, this feature was cut in the final release of the product. We will continue to investigate to improve the printing experience in the next release. For now, you can take a look at this article http://msdn.microsoft.com/library/default.asp url=/library/en-us/dv_vbcode/html/vbtskCodeExamplePrintingTextFile.asp . Best regards, the examples are terrible! ... printing experience I do not want to experience the printing!! I want to simply k ...Show All
SQL Server User Defined string functions Transact-SQL
Ladies and Gentlemen, I would like to offer you the following string functions Transact-SQL GETWORDCOUNT() Counts the words in a string GETWORDNUM() Returns a specified word from a string AT() Returns the beginning numeric position of the first occurrence of a character expression within another character expression, counting from the leftmost character RAT() Returns the numeric position of the last (rightmost) occurrence of a character string within another character string CHRTRAN() Replaces each character in a character expression that matches a character in a second character expression with the corresponding character in ...Show All
Visual Studio 2008 (Pre-release) System.NullReferenceException when trying to run Sparkle
Hi guys, I'm trying to run Expression Interactive Designer on Win2K3 server (it's been reported that it works fine on this OS). I uninstalled my November CTP WinFX runtime components, SDK and VS Extensions and then installed the January CTP WinFX runtime components. My old (November CTP) WPF apps still run fine. However, attemtping to run Sparkle results in a System.NullReferenceException. Anybody else having this problem By the way, installs and works fine on XP Pro. Thanks Hello I think internally you get a Error at element 'StaticExtension' in markup file '' : Binary format of the ...Show All
Visual Basic Does VB.NET support "nested" expressions (like C++?)
Hi all! I don't recall the exact term in C++, but I could do things like: int c = 5 + (a > 1 a : 0) + b; Can I also do this some way in VB.NET Thanks in advance! The languages do have slightly different features. For example C is case sensitive. I see that to be a real deteriment as came from the company that was very UN-C and I'm still very IN-C. Not that it's relevant but, C syntax is really ugly to me. So largely aside from a few small strengths and weakesses they will accomplish the same. PS - Although C people deny it, I think C string handling is awful. ...Show All
.NET Development 1.1 assembly referenced in a 2.0 project
Can an assembly written in .Net 1.1 be referenced in a 2.0 web project I want to reuse a ton of code (c#) already written in 1.1 for a new web project where I'd like to use VS05. ...Show All
Visual C++ Thanks Mr. Christian Graus ,but..
Hi everybody , I know very little about this high language, for my studying field in BA is far & different from the PC programming languages,which I’m studying it to take a diploma in it. So , kindly I want your help. I really spent two days in searching the e-books and other forum to find a way or a rule, but I failed. I wrote this broken code ,broken, because many of it’s statements are not completed .Please help me, and who wants to help me in solving them has to read these four items carefully; 1- My program run on Microsoft Visual C++ 6.0. 2- I wrote my questions between the explanation marks(/* */),to specify the place of my ...Show All
Visual Basic Passing value of DataPicker control ?
While trying to get up to speed with Visual Basic 2005 Express and SQL Server 2005 Express I ran into the following problem and hope someone can explain to me what I can do to correct the problem. I created the following SQL query in a Table Adapater (i.e. "WagesEarnedTableAdapter") with the name "ComputeHoursWorked". After creating it I tested it by typing in the values "1" for @EmployeeID and "1/21/2006" for @WeekEndingDate. Everything worked fine and the correct value was returned. SELECT SUM(HoursWorked) AS HoursWorked FROM Projects WHERE (EmployeeID = @EmployeeID) AND (WeekEndi ...Show All
SQL Server Shredding recordset object var in ForEach loop (problem)
I have a package that starts by loading a recordset into an object variable. The recordset is then enumerated with a ForEach loop. The loop sets some string variables. Within the loop container I have a Script task that uses a MsgBox to show the results for testing purposes. The package uses checkpoint restart (if that matters ). The first time I run the package the 1st record is displayed in the MsgBox, then the 2nd, but then the loop is stuck on the 2nd record forever. I break the run, and when I rerun it the 1st record is displayed followed by each subsequent record correctly and the package completes successfully. Now, if I were to r ...Show All
SQL Server How do you transfer a database to SQL Server 05?
On the web site for MS SQL Server 05 Express the description at the top of the page says, "Transfer any database created in SQL Express to other editions of SQL Server 2005." http://msdn.microsoft.com/vstudio/express/sql/powerful/ How do you transfer a database from SQL Express to SQL Server 2005 I am creating a data-driven web site using Visual Web Developer 05 Express, SQL Server 05 Express, and MS SQL Server Management Studio Express. My host uses SQL Server 2005, ASP.net 2.0, and FrontPage extensions. Thanks for your help. when i do this, i get the following error: TITLE: Microsoft SQL Server M ...Show All
Visual C++ error C2143: syntax error : missing ';' before '^'
<Amitoj@discussions.microsoft.com> wrote in message news:c34e795e-45b4-4682-884e-b4cf9e47f5de@discussions.microsoft.com > I am writing a VC++ .NET + DirectX9 App using VS 2005 Beta 2. > > I am getting following error - > 1>c:\dojo2\mc++dx.net\mc++dx.net\StingRay3D.h(19) : error C2143: > syntax error : missing ';' before '^' > 1>c:\dojo2\mc++dx.net\mc++dx.net\StingRay3D.h(19) : error C4430: > missing type specifier - int assumed. Note: C++ does not support > default-int > 1>c:\dojo2\mc++dx.net\mc++dx.net\StingRay3D.h(19) : error C4430: > missing type s ...Show All
Software Development for Windows Vista Some question about Exception throw by activity
hi all, there are some question about Exception throw by activity, I defined SubSystem A,B and workflow C In workflow I used activity D define by SubSystem B, where A fire a event,the workflow c execute activity D ,if activity D throw an exception the workflow was terminated,and SubSystem A don't konw this exception. firt, I hope SubSytem A can receive this exception. second,I want workflow can continue . anyone can give me a Solution thanks! Michallieu, Can you try the following - In the WF, the section you think can throw an exception have it within a Composite Activity(For Eg. Sequence). F ...Show All
Visual Studio 2008 (Pre-release) IIS hosted SSL service has wrong metadata addresses in WSDL
Is it me or is this a known issue and/or a bug I have an IIS SSL (https) service deployed and working, but the metadata locations are local. Therefore, there is no way to generate proxy classes if the client is on the other side of the firewall. Eg: <wsdl:import namespace=" http://webservices.posta.si/bindings " location=https://<machineName>/service.svc wsdl=wsdl2 /> Is hand crafting the WSDL and using metadataLocation attribute the only way Is this a known issue A bug Anyone Is it currently possible to host a transport (https) protected service in IIS without wri ...Show All
Smart Device Development I'm looking for an article...
I'm wondering if any readers here have come across an article on CAB and Enterprise Library 2.0 that featured a pluggable UI. More specifically, this article featured the same UI hosted in multiple environments including a standalone WinForm and also in an Office application. It was a demonstration of why one would want to use CAB to build modular UIs. Is anyone familiar with this article For the life of me, I can't find it nor can I remember the root domain where it came from. Any assistance would be much appreciated! It appears you've posted in a wrong forum. Are you sure that is relevant on devices ...Show All
Windows Forms Circular Reference Issue
Hi, I have a situation where I have 1 solution and multiple projects underneath so that I can maintain seperate dll's for different reasons. I have an MDI Parent form in one project and in another are all the forms that I want to instantiate as my MDI Children. In my MDI Parent project I reference my project that has my MDI Children Forms. T ...Show All
SQL Server DATABASE COPY WIZARD
I have recently installed SQL 2005 Developer Edition. I am trying to use the database copy tool to copy a SQL 2000 database to my SQL 2005 installation. I keep getting the following error: What can I do to correct this I have searched help, KB, Message Boards and google Performing operation... - Add log for package (Success) - Add task for transferring database objects (Success) - Create package (Error) Messages No description found (Copy Database Wizard) - Start SQL Server Agent Job (Stopped) - Execute SQL Server Agent Job (Stopped) ...Show All
