Topics
-
- 0 replies
- 891 views
I have implemented code to send an iCalendar formatted email from the web. My users want to be able to send multiple invitations to the same attendees for the same event over an extended period. Basically, they want to send out the initial invitation and then reminders. The issue I am running into is if a user accepts the first invitation and then later receives another one and accepts again the same meeting appears in their Outlook calendar twice. Does anyone have any idea of how to check for the existence of the meeting in the calendar before allowing it to be added again? Thanks!
Last reply by evaleah, -
- 0 replies
- 1.1k views
The PrintPreviewDialog that comes with VS2005 is good, but the people using our software are having a hard time learning how to call the PageSetupDialog first. They are accustomed to Microsoft Word's ability to simply drag a bar around to set the margins and such from within the Print Preview. Does anyone know of a way to either include a PageSetupDialog within the PrintPreviewDialog or know of how to write a custom PrintPreviewDialog to include PageSettings?
Last reply by joe_pool_is, -
- 1 reply
- 1.4k views
I am using Visual Studios 2003 and Visual basic, and have created a program that displays the FolderBrowserDialog. I diabale the ShowNewFolderButton, because I do not want the user to create a new folder, just select a folder. When I run this on my development system (Win XP), the 'new folder' button does not show. When I go to test this on a Win 2000 Server system, the 'create new folder' button shows. Why??? I am running the test environment under VMWare, but I can't see that as the problem. What am I doing wrong? Thanks. This is the code.... Dim MyDialog As New FolderBrowserDialog MyDialog.Description = "Select the folder to create a dire…
Last reply by ssware, -
-
- Administrators
- 1 reply
- 763 views
hey people i ahve finally got round the error i used to have regarding the insert into syntax error. I am now trying to add on textbox to its field in the database but when i click the button it does not do anythin, it does not throw up an error message at all, can you please help and see if anythin is wong with the follwing code? thanks Private Sub btnsave_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnsave.Click Dim cb As New OleDb.OleDbCommandBuilder(ClientTableAdapter.Adapter) EclypseLiveDS.Client.Rows(0).Item(1) = txtfirstname.Text ClientTableAdapter.Update(EclypseLiveDS.Client) End sub
Last reply by PlausiblyDamp, -
-
-
- Administrators
- 4 replies
- 1.1k views
I'm trying to learn VB .NET from some books and the web. I like to do the practice programs so I'm not just "reading" but "doing" what I'm learning, (or trying to learn). I'm stuck on 2 of them. I'll just post this one for now. I can write it (sort of) just using a bunch of nested if statements and so on however a friend of mine told me that's not exactly the way there wanting it done here per the instructions. So I'm sort of stuck and just need to see how it should look to satisfy the instructions.
Last reply by PlausiblyDamp, -
-
-
- Administrators
- 1 reply
- 939 views
I am a newbie and I need an urgent help. I want to use the "ImageMap" tool from the toolbox but it is inactive(along with some more tools). How can I activate it??
Last reply by PlausiblyDamp, -
-
- 3 replies
- 1.2k views
We have one connection string to our SQL Server 2000: "Data Source=WORKAPP;Initial Catalog=Parts_Data;Integrated Security=SSPI;User ID=public;Password=public"; Everyone can connect to the database in our plant except for the Restricted Users. Why can't the Restricted Users access this? How can we get around it? I can access the data, but I am set up as an Administrator. Our managers can access the data, but they are set up as Power Users. Most machines are Windows XP, but some use Citrix Servers and a few are running Windows Vista. The OS does not seem to make any difference. We do not want to grand Power User status to everyone, and we should not nee…
Last reply by joe_pool_is, -
-
- Leaders
- 6 replies
- 1.7k views
hi all, Got a little question about Substring (yes, its a .net 2.0 application i'm using it in) if you use the following code on MyString that is less then 30 characters long, i get an error: (ArgumentOutOfRangeException) :( MyString.Substring(0, 30) I got 2 solutions: Solution 1: If MyString.Length < 30 Then Myfield = MyString Else Myfield = MyString.SubString(0,30) End If Solution 2: MyField = MyString.PadRight(30).Substring(0, 30) What is the best solution? Or is there a method that can take everything if it is less then 30 and only the 30 first chars if it is longer than 30 chars?
Last reply by Vampie, -
-
- 1 reply
- 1.3k views
This may seem a lil strange but the problem I am having is: I am using a placeholder and adding button controls to it with vb code. each of the submit buttons is assigned an integer value that defines the next set of button controls to be displayed on the page. I used addhandler to assign a sub to the click event this sub was responsible for clearing out the placeholder and adding a new set of buttons it seems to fire the sub but because this sub occurs late in the page load the buttons do not get drawn. finally in my desperation I started assigning the integer value to a textbox with the onclick event client side with java script shown here btnAnswerButton…
Last reply by John_0025, -
- 1 reply
- 2k views
Once a dataview is filtered, to do something using its first row, would u say: for instance, label1.text = dataview.item(1)("MyCOlumn") OR label1.text = mydataview.item(0)("MyColumn") Which would bring up the first row in the filtered dataview.
Last reply by robertsams23, -
- 1 reply
- 856 views
Does anyone have a link(s) to a good article on how to map associations between objects as is pertains to communicating with the database? For example An employee has an office which to my way of thinking would equate to two objects employee and office but the database would have three tables employee, office, and a table called workstations that would be what offices are assigned to each employee. Most of the articles I've found are dealing with how to use nhibernate, llgen, etc... or deal with it in an abstract example with no implementation details. Any help would be appreciated
Last reply by John_0025, -
- 3 replies
- 843 views
Can anyone recommend some good, current, books for beginning C# and .NET 3.5? Any thoughts on these? 1) http://www.goldengatebookstore.com/rel/v2_viewupc.php?storenr=333&upc=047019135X&affnr=-2610 2) http://www.jr.com/sams-books/pe/SAS_0672329905/ 3) http://www.amazon.com/2008-NET-Platform-Fourth-Windows-Net/dp/1590598849
Last reply by cugone, -
- 4 replies
- 2.6k views
Hi all, I am getting one problem with parameterized queries in Ms access I built one parameterized query in Ms access as follows PARAMETERS Proj Text ( 30 ); SELECT DISTINCT LEFT(PROJ_ID,13), PROJ_NAME FROM Multiplier WHERE PROJ_ID Like [Proj] & "*"; When I run this query it returns the correct result I am giving name this query to Query1 In my frontend application I am calling this as dim dataadapter=new dataadapter("Execute query1 '" & parametervalue & "'",con) dataadapter.fill(ds,"TableName") When I see the count of my dataset it retuns 0 rows. I cann't understand what is going to be wrong If anyone knows the solution to t…
Last reply by Nate Bross, -
- 2 replies
- 16.3k views
I am having a problem doing the following in generics. I have one custom type array. Its a struct with few elements in it like id, shortname, longname Sample data would be 1, a, australia 2, a, asia 3, b, bangkok The problem im facing is that i want to actually gather all unique shortname and place it in another List (generic) I plan to create another new List, and then check whether the element exists in the new List, if not add it, else, move to the next item So i plan to make use of the Exists method in generic (List) but seems like im not sure how to use it since it has predicate. I hope the above explanation makes sense. Does anyone have s…
Last reply by Nate Bross, -
- 0 replies
- 1.5k views
Apologise for this stupid question. I�m a newbie to the directshow development. I want to merge 4 simultaneous video streams with equal bitrate and frame rate into a single stream where each frame of the output stream consists of frames with similar time stamp of each the input streams. Also the output stream is to be broadcast over a network as a live stream. The algorithm i have in my mind is as follows. For (each time stamp) { Get frames from all input streams; Draw them in the output frame; Add output frame in to live stream to be broadcast over the network. } I don�t know how far will be succeeded. So i have some questions before i start implemen…
Last reply by buddhikasgj, -
- 7 replies
- 1.3k views
Hey Guys, I am getting an error message when trying to add some information to my database. I keep getting the, 'syntax error in insert into statement' Below is my code: Public Class Form1 Dim con As New OleDb.OleDbConnection Dim ds As New DataSet Dim da As OleDb.OleDbDataAdapter Dim sql As String Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim cb As New OleDb.OleDbCommandBuilder(da) Dim dsNewRow As DataRow dsNewRow = ds.Tables("Users").NewRow() dsNewRow.Item("frst123") = txtfirstname.Text ds.Tables("Users").Rows.Add(dsNewRow) da.Upda…
Last reply by bluejaguar456, -
- 2 replies
- 2.4k views
Hi i want to change the asp.net menu I do not need a hover effect but want to display the submenu when click on a menu point how can I do this?
Last reply by Nate Bross, -
-
- Administrators
- 6 replies
- 5.9k views
I have an existing class library, with alot of functionallity, I would like to expose these methods/biz objects as a service. I have several command line utilities that use this library as a normal reference, and the .exe and .dll reside in the same directory, but I'd like to be able to expose some of the data access methods as a service so I can access them via ASP.NET, WPF Browser, or Silverlight. [Point being that I'd like to "wrap" the functionallity in the class library in a service so I can update the .dll in the necessary folders and it will not require re-referencing my service or any of the command line apps I've written that already use the .dll version.] …
Last reply by Nate Bross, -
-
-
- Administrators
- 2 replies
- 2.9k views
Dear All, I am developing a web application using asp.net with c# in this i am using datagrid to show the information which should also have an option to update the data this i am doing by providing the button column and remainging columns i am using are item template for this i have created the event handler to fill the data in to another form while executing i am getting null values here i am giving my code: .aspx page code [highlight=asp] <TABLE border="0" cellSpacing="0" cellPadding="0"> <TR> <TD align="center"> <asp:datagrid id="RunTimeGrid" runat="server" OnItemCommand="ItemCommand" BorderWidth="1px" PagerStyle-F…
Last reply by John_0025, -
-
- 3 replies
- 4.5k views
Developed a web application in ASP.Net (Framework 1.0), in which I have used public variable which is defined in the aspx page and in the code behind will have some calculations and the assign some value to that variable. Example: reports.aspx ..... <TABLE cellSpacing="2" cellPadding="0" width="700" align="center"> <%=tstrHTML%> </TABLE> ..... reports.aspx.vb private void displayReports() { tstrHTML = "<tr><td align=left>First Name</td>" & _ "<td align=left>Last Name</td>" & _ "<td align=left>Salary</td>" tstrHTML += "<tr><td a…
Last reply by Diesel,
-
Who's Online 0 Members, 0 Anonymous, 46 Guests (See full list)
- There are no registered users currently online