|
|
I need help on how to get the timetable from this website so that I can arrange it to send it out in SMS format.
http://utptt-ex.petronas.com.my/Reporting/Individual?identifier=8182&B1=View+Timetable&objectclass=students&idtype=id&width=100&periods=1-30">
My project can retrieve the XML from the website, but I don't know how to get the input because it's in table format.
|
|
|
|
|
regular expressions or just string mashing, basically.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Hello.
I'm working with matlab and when I'm opening windows inside matlab I have a lot of open windows in the taskbar (Main matlab window and other windows name "f1", "f2", "f3" and so on).
Is there a way to hide the sub windows from the task bar?
Thanks.
|
|
|
|
|
MATLAB ???
In WinForm, you can set the property ShowInTaskbar = false.
|
|
|
|
|
I'm not familiar with MathLab but if you're using a mathlab API in a WinForm application you can choose not to show the Form(s) in the taskbar by changing the property ShowInTaskbar to false .
|
|
|
|
|
matlab is software he has installed..
ShowInTaskbar doesn't work here.. i think the only way is to minimize your windows to the tray menu..
search in google for a minimize applications to tray menu app or code yourself a program that does it..
greetz
|
|
|
|
|
Ah, he wants a way to hide his matlab windows by using C#.
|
|
|
|
|
Hi all, Sorry for the misunderstanding.
I have Matlab which is a program I installed.
The program have an option to open sub windows from the main window (lets say I know the names of all sub windows).
I want to build an exe file that when I run it , it will hide all the sub windows from the taskbar.
Hope I was more clear now and I soory again for not explaining myself before.
|
|
|
|
|
|
Hi pal,
Thanks. I saw the code.
This code hide the whole window so you can't see it on screen. What I want is to hide the window only from the task bar but still to see it on the screen itself.
Thanks.
|
|
|
|
|
Anyone has a resource on how to read each and every entry in the Outlook calendar? I tried the code in MSDN but I am still having many problems..
|
|
|
|
|
Do you mean C, or C# ? What code are you trying and what problems do you have ?
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
my application is to use web for making pstn calls.i m using asp.net with c # for this application. where user can use this web application for making calls throug website. but unfortunatlly i m not succeded yet. and now i decided to take your help.
i have some problem in finding the best api for voip to use it in my application to make pstn calls. i have tried two to three api but when i use it i could not manage to call with it. although the status of some api show dialing but actully it does not call the phone.
i tried for 1 week trying different api but could not succeded.
my location is pakistan and the server where upload it and try is in canada.
may be i m not able to configure it correctlly.
can any body help me how can i do this. if you can provide a link of tutorial or any helping matterial
thanx in advace for help.
amirzada
|
|
|
|
|
It's kind of difficult to tell what's wrong just by reading the info you provided.. And your odds of getting help is probably better in the ASP forum.
|
|
|
|
|
i need the help as a biggner. if you know any thing helpfull please provide
amirzada
|
|
|
|
|
aamirzada wrote: if you know any thing helpfull please provide
Here's about the best advice I can give you.... ready...
DONT TAKE ON PAID WORK FOR WHICH YOU DO NOT HAVE THE REQUIRED SKILLS TO COMPLETE.
|
|
|
|
|
thanx for your advise but i did not take it is given to me from the university.
thanx for ur coopration.
amirzada
|
|
|
|
|
aamirzada wrote: my location is pakistan and the server where upload it and try is in canada.
*sigh* one more canadian out of work then ?
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Hi
using c#.net i want to detect whether there is any javascript code present on the webpage for google adsense.
please tell me about the javascript code for the google adsense
Thanks
Anil Veeraghattapu ...
|
|
|
|
|
If you want to have a look at what the javascript looks like, you've got two options
1) Find a site that uses google adsense and view it's source (search for google_ad_client in the source)
2) Sign up for a adsense account, and request the javascript snippet yourself
As I say in (1) searching for "google_ad_client" within a script tag should probably be enough
|
|
|
|
|
Hi benjymous
Thanks for your reply
well i am also thinking about your 1st option
so are you sure if a website is running google ad sense then it should contain the keywords like "google_ad_client" ?????
Thanks
Anil Veeraghattapu.
|
|
|
|
|
Well, their javascript block has been formatted like that for a good few years, so if they changed it, it'd probably break all the sites using adsense, so it's a fairly safe assumption that it won't change, but it's never guaranteed!
|
|
|
|
|
Hi,
How to define an inline array size inside the stucture.Sample code i'm attaching the code block.
I'm using MarshalAs unmanaged it's working fine.
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
public struct tPacket {
public ushort word1;
public ushort word2;
public byte byte1;
public byte byte2;
System.Runtime.InteropServices.MarshalAsAttribute(System.Runtime.InteropServices.UnmanagedType.ByValArray, SizeConst=8, ArraySubType=System.Runtime.InteropServices.UnmanagedType.I1)]
public byte[] array123;}
And i used a struct which has a create method that fills out the array but it thow an error
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
public struct tPacket {
public ushort word1;
public ushort word2;
public byte byte1;
public byte byte2;
public byte[] array123;
public static tPacket Create() {
return new tPacket() { array123 = new byte[8] }; }}
please help me.
With Regards
Mahesh
|
|
|
|
|
Hi,
some comments/questions:
1.
if you get an exception, you should provide all the information about it.
2.
with a using System.Runtime.InteropServices; statement at the top, you don't need to fully qualify all the Marshal attributes.
3.
why do you define your struct twice? and differently?
4.
most often a struct gets a constructor, taking some parameters, and initializing all members. So you don't really need a Create() method.
5.
your code, and several variations on it, work for me. as in:
[StructLayoutAttribute(LayoutKind.Sequential)]
public struct tPacket {
public ushort word1;
public ushort word2;
public byte byte1;
public byte byte2;
[MarshalAsAttribute(UnmanagedType.ByValArray, SizeConst=8, ArraySubType=UnmanagedType.I1)]
public byte[] array123;
public static tPacket Create() {
return new tPacket() { array123 = new byte[8] };
}
}
...
tPacket p=tPacket.Create();
for (byte i=0; i<8; i++) p.array123[i]=i;
6.
For readability code needs indentation. And PRE tags tend to preserve such formatting.
Luc Pattyn
Local announcement (Antwerp region): Lange Wapper? Neen!
|
|
|
|