|
Hi, I have already visual studio 2008 in my machine and then I installed vb6. Now the problem is when I use javascript debugging through the debugger keyword, its open the VB6 environment instead of Visual Studio. How to resolve this problem
Pankaj
|
|
|
|
|
Hi, I m using DataGridView in c#.net, can anyone help me with the code to obtain the following.
------------------------------------------------------------|
Student Details | Course Details |
------------------------------------------------------------|
Name | Address | Name | Code No |
------------------------------------------------------------|
aaa | India | CS | 123 |
------------------------------------------------------------|
|
|
|
|
|
|
Can anyone tell me with code in vb.net how to get email notification when client has opened the email sent to him and which client and on which link and how many time he had clicked in the email sent to him
|
|
|
|
|
I have a board of hexagons I've created on the screen and an image (icon) that I want to fill a hexagon with when it is clicked. I have the code to figure out which hex was clicked on but I can't figure out how to get the image into the hex. My attempt:
Image hexImage = new Bitmap(@"IconH.ico");
TextureBrush hexBrush = new TextureBrush(hexImage);
texture.WrapMode = System.Drawing.Drawing2D.WrapMode.Clamp;
bitmapGraphics.FillPolygon(hexBrush, board.Hexes[i, j].Points);
But this just puts the image in the upper right of the board and clips it so the image doesn't show unless I happen to click on the upper right hex. If I set WrapMode to allow tiling I get pieces of the image in the hex I click on but it doesn't line up. I'd like to be able to pass x and y coordinates to FillPolygon to tell it center the image on the polygon but none of the overloaded methods allow it. I'd also like to be able to resize the image to fit the hex since I want to allow the user to change the size of the hexes, but one problem at a time.
Jeff Wilson
|
|
|
|
|
Sorry to respond to my own post but even though I've been struggling with this for a couple days it just occurred to me (less than an hour after posting) that the answer might lie in TextureBrush instead of FillPolygon. It looks like the bounded rectangle that you can specify in the TextureBrush constructor might solve my problem, and the TranslateTransform method looks interesting too. I'll play around with it for a while and let you know if that solves it. If I'm on the wrong track, please feel free to respond at any time.
Jeff Wilson
|
|
|
|
|
I'm not really sure if this is even possible. Mapping the printer is no problem but my first thought is that it would not be possible from a webpage, security restrictions and all. As far as I can see it would require an ActiveX, or similar, control.
"By using the printing portal site and indicating their location (by drill down or similar) users would be presented with a list of nearby printers for their use. Clicking a printer should create a permanent mapping to the queue for their workstation. A set as default option would also be required."
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Mark Nischalke wrote: a list of nearby printers for their use
Sounds like a LAN, not a webpage on the internet. Which of those two are you targeting?
I are Troll
|
|
|
|
|
It was a request from a client. Not sure really what they are thinking at this point
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Printing over a network is easy. Printing over the internet usually isn't. That doesn't mean that it's impossible, off course;
Microsoft Technet on Internet Printing[^]. You might want to check with your client, I'm guessing that he/she wants to be able to print from every internet-enabled apparatus.
I are Troll
|
|
|
|
|
From what I was able to gather from them, they don't want internet printing, they want to assign a printer on the local machine from a webpage, specifically from a webpart in a SharePoint portal site.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Hi,
am using a dll in my web project ("Owc11.dll")
Before upgrading our production server (32 bit) it was working fine. So, recently
our production server has been upgraded to 64 bit. So, while running the
application one error throwing like this:
"retrieving the COM class factory for component with CLSID {0002E55D-0000-0000-C000-000000000046} failed due to the following error: 80040154"
Anybody could you please help me asap.
These much ways i have tried,
1. dll registered in GAC also available in regedit.
2. Enabled 32 bit appln (WOW64) on 64 bit application pool by using .net command prompt. But i have 64 applns in the server. So left this method. (IIS won't support 32/64 bit applns at the same time).
3. Created Wrapper DLL and used by pre-binding method (act like interface b/w 32 bit DLL and 64 bit appln)
4. Handlers also used.
thanks in advance .
Thanks & Regards,
Jeneesh K. Velayudhan
modified on Tuesday, December 22, 2009 9:47 PM
|
|
|
|
|
This normally means that it can't find the COM class factory. In other words, it can't find the appropriate DLLs. Open up regedit, and have a look for that CLSID in HKCR\CLSID.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
Hi,
checked on CLSID in HKCR\CLSID.
DLL is available there.
So, what should i do ?
Thanks & Regards,
Jeneesh k. v.
|
|
|
|
|
I assume a typo there in that surely you have upgraded to 64bit as having a 16 bit server still running is quite impressive, more than 17 years by my reckoning, that being when Windows NT 3.1 brought 32-bit into the world.
Two problems spring to mind, the first is that you will have a 32-bit interop assembly, not a 64-bit one. This is fine in a GUI based solution as you can compile for 32-bit and run in 32-bit mode, however on a server it is a little more tricky. You would have to pre-compile your web app for 32-bit, and even then you may have problems. When installing office it auto-detects your operating system and installs 64 or 32-bit as appropriate so even if you persuade your web app to run in 32-bit the underlying com object will be 64-bit. Microsoft have not released a 64-bit interop assembly package for office.
Final problem is that office automation will not work running under a service such as IIS on a 64-bit server, and that usage is not supported by Microsoft. Part of the issue is the manner in which 64-bit servers initialise the office process. They fire it up in the Administrator profile rather than the profile you are running under meaning that you will not be able to access any documents you try to open.
Not so much help, as bad news I'm afraid. We are facing the same issue, but thankfully are just starting to develop our app and so have no code to scrap.
|
|
|
|
|
|
please tell little bit detail !
Thanks & Regards,
Jeneesh k. v.
|
|
|
|
|
i jst downloaded report viewer for visual studio and installed it but couldnt find it where it is?
|
|
|
|
|
In my installation of VS 2008 it shows up in the Toolbox under the "Reporting" heading as a control called "MicrosoftReportViewer".
If it's not appearing, you will need to manually add it to your Visual Studio toolbox. Right click somewhere in the toolbox and choose the "Select Items" option from the Contextual menu. When the "Choose Toolbox Items" dialog box opens, switch to the ".NET Framework Components" tab and find and select the "ReportViewer" option. Click OK and this component should now be available in your toolbox.
Hope that helps.
|
|
|
|
|
I want to invoke a stored procedure from a formula in my crystal report. And I want to pass a field of a table in the report as a parameter to it . So the return value of the stored procedure should be dispayed per a record.
In formula editor I don't know the syntax for doing that.Conceptually I want something like this:
exec sp_Test {MyTable.FieldName}
Is anyone know how the syntax is ?
I really need this thanks in advance.
|
|
|
|
|
I'm Using the following code to get the Que and wait times for a place I work for. If i open the address in a normal window im asked for my user name and pw. then i can see .xml file. But when i used the code below i get the error that follows it. I know it needs to some how have the credentials. This tool also has multiple web browsers logged into the same main site. and if i use any links within those browsers i don't even have to use my user name pw. Is there a way to just use the credentials automatically from say webbrowser1 and use them on this to make it authorize? If not can someone show me how to add the credentials so it will not 401 error. I wrote the app to be used by multiple people so the credentials are not always the same but always be what ever they used on webbroser1. I know my code reads the XML right because i saved it to my computer to use for testing. But ill be damned i if i can find the code I need to add in credentials. If someone could show me how to add them for this. im sure i probably figure out how to grab them from another window to be used here. Again im a total newbie on vb. I picked it because back in the day C64 I wrote basic lol. and realized it was something I could for simple things wrap my head around.
Dim que As XmlTextReader
que = New XmlTextReader("http://tracker.telenetwork.com/callmonitor/assist.xml")
'Used next line to test with Copied version from server to make sure xml reader worked.
'que = New XmlTextReader("c:\\xml\assist.xml")
que.Read()
que.Read()
Dim result = que.GetAttribute("queue")
MsgBox(result)
result = que.GetAttribute("maxwait")
MsgBox(result)
The remote server returned an error: (401) Unauthorized.
System.Net.WebException was unhandled
Message="The remote server returned an error: (401) Unauthorized."
|
|
|
|
|
What authentication method or methods is the
http://tracker.telenetwork.com server expecting
you to use?
You could maybe provide authentication credentials
something like this (C#, sorry )...
WebClient webClient = new WebClient();
webClient.Credentials = CredentialCache.DefaultCredentials;
XmlTextReader que = new XmlTextReader(webClient.OpenRead(new Uri("http://tracker.telenetwork.com/callmonitor/assist.xml", UriKind.Absolute)));
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
I am very new in multithreading. I tried to read some topics but confused with different synchronization techniques used in .net multithreading like Mutex class, semaphore, critical section, event, wait handle and monitor.
Can any body guide me or can we do online conference or is there any in-depth video tutorial in multithreading ?
|
|
|
|
|
This will help Multithreading in .NET[^]
I will also add that WinForm / WPF, they are both thread unsafe and work on the UI thread (the one started in Program.Main() with a Run() method which act as a Window message pump).
To send message on the UI thread both (WinForm) Control and (WPF) DispatcherObject have a method called BeginInvoke().
A train station is where the train stops. A bus station is where the bus stops. On my desk, I have a work station....
_________________________________________________________
My programs never have bugs, they just develop random features.
|
|
|
|
|
You surely would be interested in this:
http://www.albahari.com/threading/part4.aspx[^]
A train station is where the train stops. A bus station is where the bus stops. On my desk, I have a work station....
_________________________________________________________
My programs never have bugs, they just develop random features.
|
|
|
|