|
hi,
sorry for post here....
how to increase field height in dynamically crystal report???
bez sometimes text will print morethan two lines.
so when this line will come.its dynamically change height..
plz give me solution...
Yours,
KaNNaN
-----------------------------------------------------------------
"Success is When Ur Signature Becomes An Autograph"
Mail To : foreverkans@gmail.com
|
|
|
|
|
Hi all,
The following code is giving "Error: The rowset is not bookmarkable." error.
please help me out.
Dim cmd As New ADODB.Command
cmd.ActiveConnection = Vcn
cmd.CommandType = adCmdStoredProc
cmd.CommandText = "sp_help('CNSM')"
If Vrs.State = 1 Then Vrs.Close
Vrs.CursorLocation = adUseClient
Vrs.CursorType = adOpenDynamic
Set Vrs = cmd.Execute
Set DG1.DataSource = Vrs
Set DG1.DataSource = Vrs line is giving above error..
Ramesh Sambari
Knowledge is like honey.
Collect it, to make life sweet.
|
|
|
|
|
I'm definitely rusty on VB6 & ADO, but I think your problem is here:
Vrs.CursorType = adOpenDynamic
Try to change it to:
Vrs.CursorType = adOpenForwardonly
2+2=5 for very large amounts of 2
(always loved that one hehe!)
|
|
|
|
|
Hi,
I have tried all four types of Cursor Types. But no use...
Please give me some other solution.
Ramesh Sambari
Knowledge is like honey.
Collect it, to make life sweet.
|
|
|
|
|
Ok I found out where the problem is: see here[^].
2+2=5 for very large amounts of 2
(always loved that one hehe!)
|
|
|
|
|
|
hello every one,
I want to fix two columns of datagridview so that they can not be deleted on double click i tried for Google search but cant get any thing..
Please some one suggest me for the approach.
Thank You...
|
|
|
|
|
That makes no sense, it's your app, if the user can delete a column you must have written code to do so. In there you must identify the column index, deal with it.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Hi, How I can read Cd or DVD sectors directly in Visual basic 6 and store specific sectors binary data in array? Thanks alot.
|
|
|
|
|
That's not standard functionality of VB6. I'd suggest you write this new functionality in .NET[^], and look for a way to "launch" it from your VB6-application
I are Troll
|
|
|
|
|
Hi all,
i have some things by which my application detect by antivirus.
List of actions are mention as follows that is detected by antivirus.
1. Key hook of keyboad.
2. Sending an email by my application.
3. Use Shell execute to run another application.
4. Command use to put an application in startUp.
...
please tell me how can i do all these work without detecting by antivirus.
Please help me for this.
thanks in advance.
To accomplish great things, we must not only act, but also dream;
not only plan, but also believe.
|
|
|
|
|
"_$h@nky_" wrote: please tell me how can i do all these work without detecting by antivirus.
You can't. Such programs look for behavior, and those four points seem exactly like the behavior that a virus would display.
You're running a process that sets a hook, sends mails, starts by itself? Yeah, I'd expect Avast! to catch that if something comparable is on my system.
Ditch the hook, and let the application-setup (the installation-package) put you in the start-up group. That should lower the threat a bit
I are Troll
|
|
|
|
|
From what you described, your only option is to scrap your application. You're doing everything a virus would do. Keyboard hooking, impersonating the user and sending emails, shelling a new process and self-registering the app to put itself in startup. Yep - sounds like a virus to me.
|
|
|
|
|
Hi,
I created a setup of Outlook Shared Add-in. This setup is running on my all Windows vista System but not in Windows XP System.
i went to tools menu -> Trust center -> add-in then my in my add-in check box, Checked is not appear.
And the following error is showing
"Not loaded. A runtime error occured during loading of the COM Add-in"
I am using outlook 2007
and VS2005
If i m missing something please guide me.
Thanks a lot in advance
Regards
Dharmchand Dhingra
modified on Saturday, August 1, 2009 6:03 AM
|
|
|
|
|
Your add-in did something wrong when it was loaded. Your going to have to go back to the code and try and figure out what that was. With the information you provided - it's impossible to tell you what went wrong.
|
|
|
|
|
Hi Dave Kreskowiak,
Thakns a lot for quick reply.
I m just creating simple application in which i m showing message like msgbox("Startup completed"),
msgbox("Updated...") etc in default share add-in events.
When i build setup of this application and try to run in vista it is working successfully but when try to in XP then it is not loading and showing "Loading Error"
Please suggest
Thanks
Dharmchand Dhingra
|
|
|
|
|
I'm trying to implement something similar to this: Asynchronous socket communication[^]. However, I get an error "No connection could be made because the target machine actively refused it 127.0.0.1:4359" when EndConnect() is called.
Server
Public Sub Start()
Dim EP As New IPEndPoint(IPAddress.Any, Me.Port)
Dim listener As New Socket(EP.AddressFamily, SocketType.Stream, ProtocolType.Tcp)
listener.Bind(EP)
listener.Listen(10)
listener.BeginAccept(New AsyncCallback(AddressOf OnConnectRequest), listener)
End Sub
Private Sub OnConnectRequest(ByVal ar As IAsyncResult)
Dim listener As Socket = DirectCast(ar.AsyncState, Socket)
'(Adds connected client to a list)
listener.BeginAccept(New AsyncCallback(AddressOf OnConnectRequest), listener)
End Sub
Client
Public Sub Connect(ByVal port As Integer)
Dim sock As New Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp)
Dim server As New IPEndPoint(IPAddress.Loopback, port)
sock.BeginConnect(server, New AsyncCallback(AddressOf OnConnect), sock)
End Sub
Private Sub OnConnect(ByVal ar As IAsyncResult)
Dim sock As Socket = DirectCast(ar.AsyncState, Socket)
sock.EndConnect(ar) 'Exception is thrown here
'(Handle connection)
End Sub
I ensure that the server is running before the client tries to connect and that the port is set correctly. I also don't think this is a firewall problem, as turning it off hasn't helped at all.
Can anyone help?
|
|
|
|
|
Nickr5 wrote: as turning it off hasn't helped at all
there's a flaw in that logic. When several problems exist, solving one of them may not show any noticeable difference. That does not mean it wasn't a problem, all it means is there is at least one other problem.
Maybe you have two firewalls running, say one that came with Windows, and one that is part of your Internet Security package?
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.
|
|
|
|
|
Thanks for the reply!
You were right, I did have two firewalls running. I had already tried allowing both my program and the port it was using through the Windows Firewall and forwarding the port through the router's firewall settings. Since then I've gone back and completely disabled the Windows Firewall and set the router's firewall to 'Minimum Security'. Unfortunately, I'm still getting the same exception and I haven't been able to find a third firewall
|
|
|
|
|
So you need to debug, here are three general-purpose suggestions:
1. improve the observability: add logging statements, use network observation tools, whatever;
2. formulate a hypothesis that fits the observations, validate it, act on it; and iterate this.
3. simplify the set-up until it starts working;
1 comes first, 2 and 3 can be useful in any order.
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.
|
|
|
|
|
I've been using Code Project for advice and the like, but recently I have started a new blog. https://taylortutorials.wordpress.com[^]
I'd like to know your thoughts on whether I should put my articles on Code Project or maintain a blog.
Any advice would be appreciated.
My bletherings
https://taylortutorials.wordpress.com
My bletherings:
https://taylortutorials.wordpress.com
|
|
|
|
|
CP is more visible.
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.
|
|
|
|
|
You can link your Blog into CodeProject.
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
I have created a crystal report with my project. With my Cr.Report, PageHeader Section and Details Band I have some labels and database field no problem.
But the problem is on Report Footer, once I keep any field there it's not showing its value..But the same field if I keep in Details or Pageheader bands showing well.
So how to solve it? I need to display few fields at the bottom of report..
Any better ideas for me?
Thanks...
|
|
|
|
|
Is anything showing in the report footer?
Are you sure you don't have the report footer suppression turned on?
|
|
|
|