JohnWilliams's Q&A profile
Visual Basic Can i create pdf file with VB.NET 2003 without any third-party tools?
Hello guys and girls! My subject is my problem..that i will explain better now: I have a database with saved imagepath, now i want to create a report with those images. I've tried the Crystal Report solution but only XI have the Graphic Location option and i ’have the 8.5 version so forget this way. Other option is to compose a word interop document and insert those images...but...the instalation computer must have Word installed (i think). So...can i create a pdf file with those images Or anyone with another way Thks in advance for your help! You'll need a 3rd party tool to do this, trying to do it yourself is pointless. If you don't want to pay for it (lots of competition = l ...Show All
Visual Basic Collection key regional settings german umlaute
Hi newsgroup, greetings from Germany. I've a simple vb.net 2005 code-snippet: Dim x As New Collection x.Add(0, "Muller" ) x.Add(0, "Mueller" ) I found out, that sometimes the snippet runs (as compiled exe) without any problems, sometimes not. Adding an item with the key Mueller, when the key Muller exists, may raise an exception. It depends on the regional settings (German Windows XP Regions- und Sprachoptionen). The sort-option Telefonbuch (DIN) raises the error, Worterbuch doesn't. Is this behaviour a bug I think so, because a string should not be converted into a system string using a special sort-setting before it is used in a collection key. What do you think about it Sorry, but I do ...Show All
SQL Server HELP Publishing a site with password protection
I am new to Visual Web Developer 2005 Express. I have created a web site containing a login control. It works great on my local machine, but when I copy it to the server, I get the following error when I try to login to the website: Server Error in '/mrallensclass' Application. Hi, tkae a look at the screencast on my site, which shows you a walkthrough how to enable that setting. HTH, Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
Visual Studio 2008 (Pre-release) How can we secure our interface?
Hi, With the interface being an XAML file, is the end-user able to change everything regarding positioning and to some extent behavior (via changing the bindings) How can this be controlled On the other hand, if we WANT to allow the end-user changes in the presentation alone (not in behavior) is there a way to do this Thanks in advance!! Juan Dent Hi, Thank you, I appreciate this prompt response. Along the same lines I have a related issue: Now, what if I wanted to give the end-user some freedom as to the UI How would I do this Would I need to supply all the source code, only the XAML And, would this be an all-or-nothing deal Could I restrict what could be changed and what not Best reg ...Show All
Software Development for Windows Vista DirectShow Training
Hi everyone I would like to get a DirectShow training courses. I could not find any from the Internet. Does anyone know where can I get these training Thank you In the newsgroup microsoft.public.win32.programmer.directx.video, a new poster has recently appeared using the title "DirectShow trainer". Don't know anything about him but he appears to use a valid yahoo.com address. - TMH ...Show All
SQL Server SQL Server CE tools problem
Hi I had VS 2005 Pro and SQL Server Dev. Ed. 2005 installed. These were patched to SQL Server 2005 SP1 and then VS2005 SP1. Yesterday I installed SQL 2005 SP2. Today I successfully installed the main bits from http://www.microsoft.com/sql/editions/compact/downloads.mspx but the VS tools will not install. It's telling me that the upgrade cannot continue. I think that VS2005 SP1 may already include the SQL CE tools - is this correct I do not see any mention of this when I go Server Explorer->Connect to a database -Brian If you see "SQL Server Compact Edition" in Server Explorer -> Data Connections -> Add Connection -> Change (Data Source), then the Visual Studio installation does not n ...Show All
Windows Forms Modifying manifests programatically on site
Can anybody point me in the right direction for information on the following: We'd like to have a user (well site admin to be precise) generated file included as content in a click once deployment. This I guess would mean regenerating the manifests programatically. I've had a quick look at MSDN in the Microsoft.Build.Tasks.Deployment.ManifestUtilities namespace and as these classes aren't meant to be used by us plebian software devs there isn't a lot of info. I'm assuming of course that what we want to do is possible. (oh and don't ask me why we need to do this...you won't like it...I don't even like it ) Look at the documentation for mage.exe and mageui.exe... The typical scenario is to build the manifests using MageU ...Show All
.NET Development What is the best approach for mapping external data? Any ideas?
Hi all: My boss and I are having discussions on what is the best way to migrate data from one (unknown) database to our database. Let me explain: We are looking to develop an application that should be able to attach to any ODBC database to grab data or individual records and import them into our database. Here's the problem, we may be unfamilair with the database or how the tables are laid out, we don't know where the data is located (up to their DBA), it could be normalized where our database or table is not, etc... I wanted to have the DBA for the database we are attaching to create a view of some sort or "export" the data into a specified format and then our application just do a field-to-field read into our da ...Show All
Visual C# copying a windows folder structure to sql server
Has any one coded some thing that copies a windows root folder structure to sql server Thanks a lot I i want to upload that structure to a sharepoint site. I m not sure yet if that s possible in sharepoint if someone familiar with sharepoint pls help Thanks ...Show All
Visual C++ Calculation of power by means of Recursion
hi, i calculated the power of a number with the help of a recursion: [code] double power(double x, int n) { double product; int count; if (x==0) assert(n>0); if(n >= 0) { product = 1; for (count = 1; count <= n; ++count) product = product * x; return product; } else return 1/power(x, -n); } [/code] But now i want to rewrite this function in order to ensure that the time to computer power(x,n) is only log(n). I think i need to use this formula: x^2n = x^n x^n. But i do not exactly understand how do i have to redefine this function, has anybody here some hints for that... :( matti hi, i develeoped a recursive function for the power [code] double power( doubl ...Show All
Visual C++ Bypass printing dialog while printing using ShellExecuteEx
Hi I use ShellExecuteEx to print a ".gif" file to a specific printer(which I set as default printer, prior to the operation). This printer driver is used to perform a specific task and works with only my application and can't be used for printing outside my application. It works fine on Windows 2000. But on Windows XP/2003, instead of printing the .gif, it opens up the .gif in Windows picture and fax viewer. From here I can give printing command but I want it to happen automatically. Now my application keeps waiting for the "Printing is finished" message from my printer driver. When I give the print command from outside my application to print that .gif, the same print dialog opens up i.e. it is the default ...Show All
SQL Server The AcquireConnection method call failed with error code 0xC0202009.
I've seen the previous threads on this (although maybe not all of them). However, i don't think I'm getting the error for the same reason. The full error I'm getting is: - Pre-execute (Error) Messages Error 0xc0202009: {F1B3B35C-FAE3-48F6-A169-4E4D8D99F9B6}: An OLE DB error has occurred. Error code: 0x80004005. An OLE DB record is available. Source: "Microsoft JET Database Engine" Hresult: 0x80004005 Description: "Unspecified error". (SQL Server Import and Export Wizard) Error 0xc020801c: Data Flow Task: The AcquireConnection method call to the connection manager "DestinationConnectionExcel" failed with error code 0xC0202009. (SQL Server Import and Export Wizard) Error 0xc004701a: Data Flow Task: ...Show All
.NET Development How to display text on imagebutton that contains image
The text on image button will come dynamically... I think its not possible. But you can try overriding Render method. and may be it can help you to alter the rendered HTML to do your task, else i am not figuring out any other way. Also, this is ASP.NET question, so you should post this on http://forums.asp.net - may be someone can guide you better. HTH, ...Show All
SQL Server Installation Issue - Access to path denied on service start
Hi, I have a generally well working silent installer of SQL Server sp1, that installs a named of SQL Express then runs some create database scripts on it. I have a customer for whom this fails. It appears that the SQL server service does not start. When I tell the client (non-computer literate!) to start it manually through Admin Tools>Service, a message appears saying "Access to the path denied", and seemingly doesn't specify the path of the denial. Has anyone encountered this, or is anyone able to hazard a guess as to the cause of this issue. Many thanks, Chris Hi Jens, Thanks for the response. I carried out some further investigation, and discovered in the Summary.txt log file that the syst ...Show All
Windows Forms MDI: getting form handle affects child focus
Hello: I have a MDI and multiple child forms. The only way to bring a child in focus and to the front of the other forms is by clicking on the titlebar. I have discoverd that this occurs only when I set a property on the form to the form's handle in the new() sub. It does not happen if I do this in the load event Why does this happen. here is the code for the child Public Sub New ( ByVal pParentID As Int64, ByVal pAppRule As Int32) ' InitializeComponent() ' Add any initialization after the InitializeComponent() call. FormID = Me .Handle ParentID = pParentID ApplicationRule = pAppRule End Sub Thanks for any help on this. smhaig Creating an ...Show All
