Click here to Skip to main content
15,888,579 members

Comments by jchoponis (Top 11 by date)

jchoponis 6-Apr-15 16:26pm View    
sorry - just saw this comment -> can you confirm you allow tcp connections for sql to this server (i.e. localhost\sqlexpress) -> can you connect just using sql management studio from the local machine to you db instance (let's make sure you can connect at all)?
jchoponis 25-Mar-15 21:30pm View    
perhaps you can give us example of something you are trying to do and what you are seeing? tools like codepen.io or codeply.com allow you to demo examples you can share with developers for feedback, etc.
jchoponis 27-Jan-15 22:14pm View    
BillWoodruff is correct - clickOnce deployment is generally created to solve this more complex issues...but is has limits you should read about.

Here's the general overview documentation (sorry there's no 30-second way to tell you how to get everything in your project to work with clickOnce, but this should help):
https://msdn.microsoft.com/en-us/library/142dbbz4%28v=vs.90%29.aspx

generally, pushing updates to installed applications(like a winforms or wpf app) requires admin rights and deployment of dependencies (i.e. other libraries you are calling in your app for controls, reporting, data access, etc.). while this is not always the case, it often is.

clickOnce allows you to deploy to users via a URL and the program can be set to check a URL for updates (and to update itself). this deployment type installs the program using the security context of whomever is initiating the clickOnce deployment - generally a regular user. clickOnce gets around some of these normal non-administrative permission limitations by installing to the user's profile area - so the app gets installed per-user - NOT per computer. Note that registry access may be limited as well, etc. i.e. you can't do administrative things from a clickOnce app running as a normal user - it is not magical and will not grant additional rights to the user automatically.

the link i sent you has a comparison table that explains some of what i'm mentioning here.

finally, if you are set on some kind of updating without clickOnce note that it will require a web service/web server to deliver & host updates...some kind of windows service run with admin rights on the target computer that can check for updates and install them with administrative rights (if that's required) and some notification system built into the app to know when to check and when to prompt (i've done this with database tables that get checked on demand or at startup).
jchoponis 27-Jan-15 21:46pm View    
question - does the line

Clipboard.SetText(Datatable.Tostring, TextDataFormat.Rtf)

"work" before you put in the strings before and after it?

then when you put the two additional strings in the "setText" method, you get the mentioned, undesirable output?
jchoponis 1-Oct-14 15:07pm View    
I believe the the selected value may be the key here.
Try changing the selected value to be:

other data sources > [form name] list instances > [project data set name] > teamMember table > teamcaptain field (or assistant)