Topics
-
-
- Moderators
- 1 reply
- 953 views
Does anyone know how I can connect and add thing to a Exchange Server directly in code. The Oulook object will not work for me. I need this to run just like talking to SQL Server does.
Last reply by Robby, -
-
-
- Moderators
- 1 reply
- 2.3k views
does anyone know how to add a task to a user's Outlook Task List using ASP. Naturally it work perfectly on the test machine, but when deployed to the server it fails. It returns "Server Execution Failed"
Last reply by Robby, -
-
-
- Administrators
- 1 reply
- 1.5k views
I am running the following code. It executes when the value of variable i is 1 and when the loop continues and value of i becomes 2 i am getting error "Object reference not set to an instance of an object" in the cmdSearch.CommandText line in the code. . There is no problem with connection string. It successfully retrieves when i = 1. Can anybody help me out what is the problem. Please post with corrected code if anybody can help. =========================================== for (int i=1; i <= objFolder.Items.Count; i++) { System.Data.OleDb.OleDbConnection odbSearch = new System.Data.OleDb.OleDbConnection(); System.Data.OleDb.OleDbCommand cmdSearch = new Syste…
Last reply by PlausiblyDamp, -
-
-
- Administrators
- Leaders
- 3 replies
- 804 views
I have 20 checkboxes Is it possible to uncheck them all without listing eachone in turn they are call check1 to check20 Thanks
Last reply by PlausiblyDamp, -
-
- 3 replies
- 945 views
I have a mdiparent that has a combobox named cmbStore that i want to use as a "filter" for the child forms. For example if i open the mdiChildSales form i only want it to show sales for the store currently selected. All is fine on the open of the child form because i created a static variable called SelStore so when the form opens it uses that variable as a parameter for the sales stored procedure but if i change the cmbStore selection while the mdiChildSales is open how does the mdiChildSales know SelStore value has changed.
Last reply by barski, -
if have something like date sales 3/1/2004 1000 3/31/2004 2000 if the date is less than 3/15/2004 then multiply sales by 2 using a case i can handle true/false expressions but how do i handle > and <?
Last reply by Mister E, -
-
- Administrators
- 9 replies
- 1k views
protected void dosignin(object sender, EventArgs e) { Session.Abandon(); if (VerifyPassword(accountEmail.Value, password.Value)) { //FormsAuthenticationTicket ticket = new FormsAuthenticationTicket(accountEmail.Value, false, 5000); FormsAuthenticationTicket tkt; string cookiestr; HttpCookie ck; tkt = new FormsAuthenticationTicket(1, accountEmail.Value, DateTime.Now, DateTime.Now.AddMinutes(30), remember.Checked, ""); cookiestr = FormsAuthentication.Encrypt(tkt); ck = new HttpCookie(FormsAuthentication.FormsCookieName, cookiestr); if (remember.Checked) ck.Expires=tkt.Expiration; ck.Path = FormsAuth…
Last reply by Diesel, -
-
-
- Leaders
- 1 reply
- 784 views
I've written a program in vb.net that requires certain registry entries to be present in order to work properly. I've created the registry edit files so when you click on them it installs them into the local computer. Is there a way in .NET when I am creating the install project for my program to include the registry files, thus when the user installs the program on their local machine. The install project will automatically update the registry for them with the correct registry entries.
Last reply by snarfblam, -
-
-
- *Experts*
- 0 replies
- 8 views
This post has still not been addressed. There is a link on item 0 to fix the CS tags but nothing has been done and it's been at least 6 months. I plan on posting a message here every day until I get some kind of response. This specific forum was meant to get your attention, was it not? The last post in regards to the above thread was posted over a week ago and still no response. If you value your "support" staff here, please help us do our job and fix these tags. -nerseus
Last reply by Nerseus, -
-
-
- Leaders
- 2 replies
- 1.3k views
Hi! Can someone tell me please how can I merge two different images into one using visual basic .net? I have one picturebox loaded with fixed image. I want to crreate a new "layer" of different image, allow the user to move and resize it, and then merge both images into the fixed one. Thanks! Tom Rahav.
Last reply by rahavtom, -
-
-
- *Experts*
- 6 replies
- 1.6k views
Ok so I have this table named "Users" with the fields 'username' and 'age' I'm interested to know who's the youngest username. How do I formulate the SELECT statement ?
Last reply by Nerseus, -
-
- 1 reply
- 796 views
Can you view the session object through a control? I can access the object, but it seems the values I have added are not present.
Last reply by kahlua001, -
- 1 reply
- 1.2k views
I have a few Com.dll's that I use in a multiple of my applications. These are in house .dll's which are rebuilt a few times a month when we discover bugs or decide to add minor functionality. Since I've started building in .NET I've been forced to create (or at least I assumed this was the ideal way) primary interops for these .dll's and stick them in my GAC. Therefore all the applications (VB6 or VB.NET) that use the .dll can pull from the same file. The only problem is, it seems everytime I build my COM.DLL I have to create a new primary interop and install it in the GAC. My question is, if I choose not to auto-increment the dll version on build (assuming i 'm no…
Last reply by Mike_R, -
-
- Leaders
- 2 replies
- 654 views
I am trying to manipulate a string. The string has the value = "Johnny Gonzales" I need it to have the value = "jgonzales" It needs to be flexable enough to account for the original string having different values. Alex Torres Raymond Cisneros etc... They are need to end up like: atorres rcisneros etc... I am not quite sure how to accomplish this. Keep in mind that the program has option strict on and that it is in VB.NET. And as always any help is greatly appreciated.
Last reply by snarfblam, -
-
- 1 reply
- 1.6k views
Hi I have a line of code in my VB ASP.NET app which confirms a delete action on a datagrid. This works without problems but I need to make the Javascript alert multiline, I am struggling with the syntax and cannot figure out how to go about this. Example of what I need is ------------------------------------------ | | Are you sure you want to delete: | | Project No: 51151 | Date: 23/04/2005 | Notes: Sorry cannot confirm. | | OK CANCEL |_____________________________________ The code below is what works for a single line alert box. btnConfirm.Attributes("onClick") = "return confirm('Are you…
Last reply by kahlua001, -
- 4 replies
- 967 views
Hi My SQL code does the following select MyCommand.CommandType = CommandType.Text MyCommand.CommandText = "SELECT DISTINCT myMembers.Member_ID, myMembers.Surname, myMembers.Forename, " & _ "myGroups.Group_Name, myGroups.Group_ID, myGroups.Group_Description " & _ "FROM myMembers " & _ " CROSS JOIN myGroupMembership " & _ "INNER JOIN myGroupMembership myGroupMembership_…
Last reply by mike55, -
- 3 replies
- 3.6k views
Hello! i have a problem.. i try to open a modal window using window.showmodaldialog(URL, Argument, Features). I have retrieved the values i passed to the modal window through the Argument from window.dialogArguments in the html code(.aspx). the problem is I cannot pass this value to my codebehind(.aspx.vb) in pageload. how do i pass a value from my .aspx code to .aspx.vb code at page load? :o
Last reply by kahlua001, -
- 0 replies
- 748 views
Hi! I develop using visual basic .net and crystal reports a win-based application. In my application, I let the user save his report's prefered font and color, and I would like to used these (saved) settings while producting the report at runtime. How can I change fonts and colors of my reports during runtime? Do I need to use parameters? What type? Thanks, Tom Rahav.
Last reply by rahavtom, -
- 0 replies
- 1k views
Hi All, I am trying to write setup package. The msi package will be placed on a web server and a link will be provided. When the user clicks this link, the msi package should get downloaded and start installing. I have done simple setup packages but i do not know how to go about this.I tried searching the net and found links which only talks about a web setup to deploy a web app. I need to deploy the windows application. Any links to a sample would also be helpful for me. Thanks in advance Regards Yashasvi
Last reply by yraykar, -
- 3 replies
- 5.7k views
Hi all, At some months ago I made this question, but I still have not understand well. The dought is about passing values, data between diferent forms in c#. I'm developing an application in a MDI environment, and sometimes i need to pass some values from one forms to others, for example: I have the main form (parent) and for each child form i open, i make visible an item in the menubar. this item alows the user to navigate between openned forms.When i close the child form, i want to set the item (corresponding to this child form) in the parent form as uncheked and invisible. I searched in some sites and the common way I found its to create a delegate and public f…
Last reply by mskeel,
-
Who's Online 0 Members, 0 Anonymous, 102 Guests (See full list)
- There are no registered users currently online