I'm new to WCF and am overwhelmed by the options available for securing my WCF service. What is the security model best suited for this situation?
Server:
Must have access to the context of a particular publicly available ASP.Net application, running on IIS 6. However, the the service should only be available to a single client on the...
This is really confusing me as I'm not doing anything with Strings.
This is the details the debugger gives back to me:
System.FormatException was unhandled
Message=Input string was not in a correct format.
Source=System.Windows.Forms
StackTrace:
at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Del...
how do you remove spaces from a string in vb.net?
...
Public extreme_foods As New System.Collections.ArrayList()
Dim i As Integer
i = 1
For Each s In split2
extreme_foods(i) = s
i = i + 1
Next
anyone know why extreme_foods(i)=s is giving INDEX OUT OF RANGE??
...
how do i clear all elements in an arraylist?
...
I'm getting this error when trying to run a vb application on a another pc. Is there some place I can download this DLL?
...
Maybe I'm thinking about this the wrong way but here's the idea:
Class A gets, as part of it's constructor, a pointer to class B and saves that pointer in a private variable. Class B exposes a public function, F. I'd like for class A and all classes that inherit from class A to NOT be able to call B.F.
The idea is that class A will i...
I have been banging my head against the wall with this odd behaviour on Chrome
I have files stored encrypted on disk in an unnamed, unordered state. when the files are downloaded by the user, the client is redirected to a download handlers (.ashx) the data is loaded into a stream, decrypted and sent to the client. Now this has worked fi...
Hello Experts,
I am trying to upload some files from local machine to Sharepoint document library.
The file I am trying to upload is c:/uploads/route.pdf
My sharepoint site URL is http://companyportal:9191/Sites/Travel
I have a document library called Travel docs under Shared Documents. The actual URL for the document library is
http:...
I have a VS.net project where I need to add a reference to Microsoft.sharepoint.dll
where can I find the dll. I am running my web application on XP Professional box and I cannot install WSS 2.0 on my machine.
I need to programmatically access a sharepoint site which is on WSS 2.0 from aSP.net application.
Please help
Thanks
...
I want to have a NotifyIcon in the system tray that when clicked, opens a context menu on the NotifyIcon with several options that open different forms.
I have read I need to use a ContextMenu and after Google'ing and trying out various code I can't seem to get it working :/
Any help on the matter is greatly appreicated.
...
hi,
I have below code in html.
<li class="selected" runat="server" id="lihome"><a href="/ISS/home.aspx" title="Home"><span>Home</span></a></li>
Now I want to start my tabbing from this li when my page get loaded. Please suggest how to do this.
Thanks.
Best Regards,
MS
...
I need a c# code to output xml results for google search results.
Please help!
...
I have a UserControl, with a TextBox and a databound property - Value.
Value can be any object such as a Color, Array, Font etc.
Any time the text changes, the property Value is changed as long as it is valid.
Looking at the msdn article: How to: Apply the PropertyNameChanged Pattern
, it says I should use the PropertyNameChanged Event...
Assume I have a form that has say 5 text boxes and I need to pull some data from a database then set those 5 text boxes with that data.
So assume I have 3 basic layers:
the code behind for a default.aspx page
a BLL class that contacts the DAL
and a data access layer (DAL)
But I've heard and read that the default.aspx page should no...
Hello, I have implemented the filestream feature of SQL Server 2008 in a VB.Net application.
I can insert files, and then retrieve/view them just fine. However, I have huge problems trying to update a file.
Eg. The user selects a file from the grid which I execute via process.start. If that file is a .txt file, the user may choose to e...
I have a report that I need to run multiple times and save as PDFs. I am currently generating the report as a PDF programatically but want to save the reports without the user having to choose the save option manually each time.
The code I use to render a single report as a PDF is:
Dim warnings As Microsoft.Reporting.WebForms.Warn...
How can I convert this code LINQ to SQL in C # LINQ to SQL in Vb.net
public IQueryable<Maestro_Clientes> GetMaestro_Clientes()
{
var q = from co in this.Context.Cli_Consumos
group co by new
{
Servicio = co.Servicio,
Cliente = co.Cli_Servicio.Cli_C...
I'm trying to add Jumplist support to my app, but I can only find the source code of libaries to do this in C#, I can't find any dlls anywhere. So where can I get one?
Or am I totally wrong and how do add the new windows 7 features in vb net?
...
In VB.NET I made a web browser and I wanted there to be an image behind the web browser slightly peeking out. I put the image on after i put the web browser on the form and I cant get it to be behind the browser. Can anyone tell me how to do this?
...