|
You have me confused.
Why doesn't this work if you don't use impersonation?
Hang on, I probably know...
Your Web Service is running as IIS_USER or something. Now IIS_USER has never used Office interactively, so the whole Office suite is not really setup in his profile. Try logging on to the server once as the IIS_USER (or run your web server under another id), and Use Office once. This will setup zillions of registry keys in his profile, and integration should work afterwards.
|
|
|
|
|
Oh, and don't forget to restart the service after doing this, otherwise the profile will not be reloaded...
|
|
|
|
|
I made tables, codings and all using visual basic.
Is it possible to put all this information from the vb that i've done into Adobe Dreamweaver CS3 to make a website?
I want to make a webpage and i want to put the tables and all inside the webpage. is that possible? and how am i suppose to do it?
thank you.
|
|
|
|
|
If you're using VB6, you're out of luck.
If you're using VB.Net, and you have been using WinForms, you should be able to replace most of your form code by corresponding ASP.Net Controls.
Anyway, you'll have to create a new project (an ASP.Net project). Test your project using the Visual Studio embedded server.
You should then be able edit your webpages directly in DreamWeaver.
|
|
|
|
|
Hi Friends,
I am developing an application with VB 6.0 and Crystal Report 7,I need the code to use distinct keyword in crystal report selection formula.
for example: suppose i have a Table name "community". Its fields are S.No, Name, DOB,Community.
Then a person can be member of more than one community (Which shown below)
S.No|Name | DOB | Community
-------------------------------------------------------
0001|Anand Kumar |18/08/1985| Delhi IT Proo
0002|Amit Kumar |14/06/1984| Delhi IT Proo
0003|Anand Kumar |12/01/1981| Delhi Computers
0004|Rishu Mehra |17/08/1986| Delhi IT Proo
0005|Shivendra |11/05/1982| Delhi IT Proo
0006|Mahendra Kumar |09/02/1988| Delhi IT Proo
0007|Anand Kumar |31/04/1983| Delhi MCA
0008|Rishu Mehra |13/09/1984| Delhi Computers
Now i want to print the distinct names from Community table with serial no only (Other fields not required), Please tell me any selection formula on Name field, So that when crystal report open it'll display only DISTINCT names ignoring other details, only distinct!
That means Result would be...
S.No|Name
0001|Anand Kumar
0002|Amit Kumar
0004|Rishu Mehra
0005|Shivendra
0006|Mahendra Kumar
Can some body help me with this? Pz Plz pLz plZ plz
With regards
Anand Srivastava
anandbpsri@yahoo.co.in
anandbpsri@gmail.com
anandbpsri@hotmail.com
Anand Srivastava
|
|
|
|
|
i am using Vb 6.0 with Crystal Report 7 and wants to display distinct rows with crystal repot
please help me the selection formula.
Anand Srivastava
|
|
|
|
|
Hi!, You can protect your .net binaries with CodeDefender. hosted in codeplex. obviously for free
|
|
|
|
|
Self recommendation?
------------------------------------
I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
|
|
|
|
|
Yes, i just obfuscated my DLLs
|
|
|
|
|
Perhaps you should pay for an ad like others do who advertise here...
|
|
|
|
|
Who would want it? It's in beta and no source code available (he mentions on his site that VS 2010 is needed to open the source)...
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
Good, but why not pay to advertise like everyone else.
Bob
Ashfield Consultants Ltd
|
|
|
|
|
I only have Visual Basic 2008 Express editions (web and windows forms).
Can I develop Silverlight applications in the Express environment? I want to start playing with it.
Also - has anyone heard whether there will be any 2010 VB Express versions released?
Thanks!
|
|
|
|
|
VB 2010 Express[^]
And yes, Silverlight does work with the express editions.
Hope that helps, vote up if it does
------------------------------------
I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
|
|
|
|
|
I am fixing to begin a project that has no existing code base. The application will track client demographic and billing information.
I would like your opinions on which technologies I should use. This will be written in VB.NET .NET 4.0.
Database mySQL, SQL Server etc which version(s).
Technologies Windows Forms, WPF, Silverlight, ASP/AJAX.
Would this be something that I should being using sharepoint for?
Any explanation of sharepoint would be nice/ I understand that it replaces somethings that we used to have to do manually.
There are no remote clients and probably won't be.
Humble Programmer
|
|
|
|
|
Surely someone has an opinion on this....
Humble Programmer
|
|
|
|
|
Hi Guys,
Every time I try to verify if the user wants to exit the app, the question box comes out twice. I do it like this:
Private Sub Register_FormClosing(ByVal sender As System.Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles MyBase.FormClosing<br />
Dim exitChoice As Windows.Forms.DialogResult<br />
exitChoice = MessageBox.Show("Are you sure you want to exit?", "Exiting?", MessageBoxButtons.YesNo, MessageBoxIcon.Information, MessageBoxDefaultButton.Button2)<br />
If exitChoice = Windows.Forms.DialogResult.Yes Then<br />
Application.Exit()<br />
Else<br />
e.Cancel = True<br />
End If<br />
End Sub
It comes out twice even if yes is clicked the first time.
How do i make it come out only once?
He who goes for revenge must first dig two graves.
|
|
|
|
|
The form is closing anyway so remove the application.exit (assuming this is the final form)
Only do the cancel = true if they want to stay in.
Private Sub Register_FormClosing(ByVal sender As System.Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles MyBase.FormClosing
Dim exitChoice As Windows.Forms.DialogResult
exitChoice = MessageBox.Show("Are you sure you want to exit?", "Exiting?", MessageBoxButtons.YesNo, MessageBoxIcon.Information, MessageBoxDefaultButton.Button2)
If exitChoice = Windows.Forms.DialogResult.No Then
e.Cancel
End If
End Sub
|
|
|
|
|
' you need to add the following code to fix it
' on the same file where your Register_FormClosing is, declare this
Private if_already_close As Integer
' inside your Register_FormClosing, add
' before Dim exitChoice
If if_already_close <> 1234 Then
if_already_close = 1234
' your MessageBox.Show(...) codes here
End If
' before the End Sub
TMALBONPH
|
|
|
|
|
Hi.
I want to draw an arrow (like a triangle or something like that) on an existing line to show a direction. The lines are in different directions.
an example of the picture can be found here
here
The coordinates are calculated on an circle.
Jan
|
|
|
|
|
You ahve to create a pen to draw line. Did you happen to see the StartCap and EndCap properties of the Pen class? There are your arrow heads. A little perusing of the MSDN documentation will give you all the details of the Pen.EndCap and Pen.StartCap properties.
|
|
|
|
|
I did already had a pen I already drowed some lines .
I know the the pen has some possibilitys. However. An arrow at the end or beginnings of the line do not help. I need it on about 25-40%. That location was not difficuld. The trouble was how to rotate my triangle/arrow into the write direction
However, someone else has given me an direction with sin and cos and atan. and that is what I neeeded. So know i'ts solved
|
|
|
|
|
Kindly let me know the difference between Visual Basic and VB.Net.
|
|
|
|
|
Visual Basic refers to VB.6 (Visual Basic 6) and VB.NET refers to the updated CLR freindly and SUPPORTED version for the utilising the power of the .NET framework.
Do not be tricked into using vb.6...
I don't speak Idiot - please talk slowly and clearly
'This space for rent'
Driven to the arms of Heineken by the wife
|
|
|
|
|
There's more than one.
Think of it like this VB6 is to VB.Net as Latin is to Italian.
Regards
David R
---------------------------------------------------------------
"Every program eventually becomes rococo, and then rubble." - Alan Perlis
The only valid measurement of code quality: WTFs/minute.
|
|
|
|