Topics
-
-
- Administrators
- 2 replies
- 4.5k views
I use the code below to send invitations from my web calendar to other web users. I invitations get very good to outlook users and outlook web version, they have the accept and deny buttons and so on. And the message is in the mail body too. The problem that when I send it to Gmail users, the invitation only appear as attachment, there is no "accept" or deny buttons and so on. In the message body there is only the html I send as "description". Can I send this invitations from my dot net web page and make it appear the same in Gmail and outlook? i tried for houes every thing i know with out success... does any body have idea? Thanks. my code- Public Share…
Last reply by yaniv, -
-
-
- Administrators
- 6 replies
- 3.6k views
How can I download data from Adobe Flash into vb.net?
Last reply by rbulph, -
-
- 0 replies
- 4.3k views
Ignore, resolved the problem Why would a WebRequest return data that is hours out of date? Do I have to set something to ensure that it's not looking at cached information. It worked so well yesterday, and today it's hopeless...
Last reply by rbulph, -
-
- Administrators
- 2 replies
- 8.7k views
i use this.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox1_KeyPress); and then private void textBox1_KeyPress(object sender, System.Windows.Forms.KeyPressEventArgs e) { MessageBox.Show("" + e.KeyChar);} to catch the every key press in my form.... but why it doesn't work with arrow keys? how can i arrange it to catch all keyboard keys? thank you!
Last reply by robertsams23, -
-
- 0 replies
- 6.5k views
In my sample XML the object is "ZB". That "ZB" has two points, "AAD" and "AAG". Both points have coördinates, devided by the "|" character. This is a fixed format, I have to deal with it. Because in our software, we use the data in a dataset. So we convert the XML tot a dataset with the command: Dim myDS As DataSet Dim fsReadXml As New System.IO.FileStream(myXMLFile, System.IO.FileMode.Open) myDS.ReadXml(fsReadXml) After that, I have 4 tables in my dataset: ZB AAE AAG point Automaticly there are relations and hidden id's added. After that, I connect 2 datagrids with this code. One datagrid with all objects and the second grid shows me the coördinates o…
Last reply by Lexus, -
- 0 replies
- 1.1k views
The text "oletus" is show when the app is run on the phone or the emulator. What should I change so that the text is shown on design time as well? Please see the attached screenshot for xaml and code behind.
Last reply by JumpyNET, -
- 0 replies
- 2.6k views
I build an app and i want it to block surfing when a "user" didn't chose, but I can�t find a way to stop the network adapter from c#. I saw and tried a lot of examples and advices from all other the net, but none worked for me. I tried to disabled the adapter- public void DisableNetWork(string interfaceName) { SelectQuery wmiQuery = new SelectQuery("SELECT * FROM Win32_NetworkAdapter WHERE NetConnectionId != NULL"); ManagementObjectSearcher searchProcedure = new ManagementObjectSearcher(wmiQuery); foreach (ManagementObject item in searchProcedure.Get()) { if (((string)item["NetConnectionId"]) …
Last reply by yaniv, -
-
- Administrators
- 2 replies
- 1.1k views
I've been running Microsoft Ready to Launch Visual Studio 2005 on an xp operating system and just upgraded to Windows 7. When installing vs after the upgrade I got messages about how it was incompatible with Windows 7. But I ignored them and vs seems to work OK. Am I OK to carry on ignoring this? I don't really want to have to upgrade to a new version of Visual Studio if I can avoid it.
Last reply by rbulph, -
-
- 0 replies
- 1.4k views
In my application I am writing data to an instance of SQL Server Express 2008. I have an intermittent problem of losing connection and when this happens I have to restart the application in order to get everything going again. This is a big nuisance because it is a data logging application and I am losing data (have text file redundancy but prefer SQL data). With each program execution I verify that the table for a particular test bench exists on the remote server and the local server. The local server is a buffer until I close the program in which case the data is bulk copied to the remote server running full SQL. Then I check to make sure that columns exist on bo…
Last reply by TexasAggie, -
- 1 reply
- 1.7k views
Hello, I've been away from .Net developping for like 6 years, coming back and I had to create a chart, I was really pleased to see this control, but the way it works is kinda annoying, anyway, look at this picture : [ATTACH]5759._xfImport[/ATTACH] These are two charts, both the same one, the only difference is their width and height, but as you can see, on the smaller on, the labels are unaligned. At first I had the same problem with the bigger one, but increasing the distance between the from and to points when including the customlabel fixed it, however the same trick doesn't seem to be working for the smaller one. The points are added this way (these are random p…
Last reply by Shurikn, -
- 0 replies
- 6.2k views
I am having a bit of a confusing issue with PropertyItems[] and parsing EXIF data from images... private void test() { int tagMake = 0x010F; // 271 int tagModel = 0x0110; // 272 Image image = Image.FromFile("C:\\test3.jpg"); byte[] make = image.PropertyItems.Single(x => x.Id == tagMake).Value; byte[] model = image.PropertyItems.Single(x => x.Id == tagModel).Value; var encoding = new System.Text.ASCIIEncoding(); Trace.WriteLine(encoding.GetString(make)); Trace.WriteLine(encoding.GetString(model)); } The above returns these two tags from *some* images, …
Last reply by PrOpHeT, -
- 0 replies
- 6.5k views
Hi, I just have an English question because my En is not good. One form in my application needs to run as admin, while my whole application does not! However, when user wants to open that form and application is not run as admin I want to show user a message: Application is invoker while SystemToolsMenu needs administrator rights. Do you want to run it anyway? Anyone can help me make the above sentence better? Thanks :)
Last reply by usvpn, -
-
- Administrators
- 2 replies
- 1.4k views
i have a page that sends to a webapi via WebClient which has a DateTime value as one of the parameter, for some reason after serializing it with JavaScriptSerializer it takes -8 out of the value here's what i tested in C# public class MyParam { public string param1 { get; set; } public DateTime param2 { get; set; } } JavaScriptSerializer serializer = new JavaScriptSerializer(); string json = serializer.Serialize(param); // param = MyParam json = serializer.Serialize(json); MyParam test = serializer.Deserialize<MyParam>(json); // less 8 hours of original value
Last reply by lamy, -
-
I already said Hello on your Leaders' Board, but I wanted to make sure that I was seen. If you're looking to get in touch with the site owners or suggest some site changes, throw a PM or email my way. :cool:
Last reply by jayd512, -
-
- Administrators
- 2 replies
- 1.4k views
Howdy, I want my application to run only on Win7: Dim MyVersion As Version = Environment.OSVersion.Version Dim SevenVersion As New Version(6, 1, 0, 0) If Not Version.op_GreaterThanOrEqual(MyVersion, SevenVersion) Then End Above code will allow to run on 7 or later, how to change the condition to run only on 7? Thanks.
Last reply by PlausiblyDamp, -
-
- 0 replies
- 8.5k views
A simplified version of the MSDN StreamSocket sample (tested and working). TCP Client (Windows Phone 8 App) Imports Windows.Networking Imports Windows.Networking.Sockets Imports Windows.Storage.Streams Partial Public Class MainPage : Inherits PhoneApplicationPage Dim Socket As StreamSocket Private Async Sub ButtonConnect_Click(sender As Object, e As RoutedEventArgs) Handles ButtonConnect.Click Socket = New StreamSocket Await Socket.ConnectAsync(New HostName("192.168.1.7"), "1234") StartListening() End Sub Private Async Sub StartListening() Dim reader As New DataReader(Socket.InputStream) Do ' Read first 4 …
Last reply by JumpyNET, -
- 0 replies
- 1.4k views
I have put up a simple DatagramSocket test example with separate solutions/projects for client and server. Sending strings from client to server is working but sending a string from server to client results in the following error: "A method was called at an unexpected time. (Exception from HRESULT: 0x8000000E)" What could be the problem ??? Source code for the UDP Client (Windows Phone 8 App) Partial Public Class MainPage : Inherits PhoneApplicationPage Dim WithEvents Soketti As DatagramSocket Private Async Sub ButtonConnect_Click(sender As Object, e As RoutedEventArgs) Handles ButtonConnect.Click Soketti = New DatagramSocket Await Soketti.C…
Last reply by JumpyNET, -
- 0 replies
- 1.1k views
What would be the best way to do the following in XAML? <StackPanel Grid.Row=IIF(Orientation="Portrait","2","1") Grid.Column=IIF(Orientation="Portrait","0","2") > ------------------------------------------------------------------------ At first I was thinking of using a ValueConverter but they do not seem to support multiple parameters. I guess passing both of the parameters in a single string such as "2|1" (which I would them split in my ValueConverter) would be bad practice, I was wondering could it be possible to do something like the following? <StackPanel Grid.Row="{Binding Orientation, ConverterParameter=[[new CustomClass(2,0)]], Converte…
Last reply by JumpyNET, -
- 0 replies
- 910 views
Hi, Using WebClient due to strict content filtering some times I cannot open an HTTPS address, but I can open the same HTTP address will open. So I want to try the HTTPS first, and if fails then try the HTTP, if it also fails then return the error. Dim WebClient As New System.Net.WebClient Dim NewString As String = WebClient.DownloadString("https://www.domain.com/file.txt") WebClient.Dispose() What's the best algorithm? I can try HTTPS and then try HTTP in CATCH or I can try each one in a separate TRY/CATCH and then evaluate their values or what? Thanks.
Last reply by usvpn, -
- 0 replies
- 4.5k views
How programmatically select one element in html-page in WebBrowser, for example Table with id="Table1"
Last reply by zaharius,
-
Who's Online 0 Members, 0 Anonymous, 30 Guests (See full list)
- There are no registered users currently online