|
Any ideas where I could read more about better resizing methods, esp any designed for enlarging images ?
Thanks!
|
|
|
|
|
I have a Solution (Sol_1) in its own directory with a regular project (Proj_1) and a deployment project(Proj_1_Setup). Each of the projects in its own directory and the directory name is the same as the project name.
Then I needed to create a copy of the entire solution, rename the projects and the directories.
I copied the Sol_1 directory to Sol_2. Then I started the VS IDE and used the Solution Explorer to rename the solution (Sol_2) and both projects (Proj_2 and Proj_2_Setup).
That left me with a Sol_2 directory containing a Proj_1 sub-directory which contains a Proj_2 project. I also have a Proj_1_Setup sub-directory which contains a Proj_2_Setup project
How do I safely rename the Proj_1 and Proj_1_Setup sub-directories without fouling up all internal places where the VS IDE keeps track of this stuff?
FWIW, I'm using Visual Studio 2003 and the application uses VB.Net.
Thanks.
--Andy, WV8AA
|
|
|
|
|
Make a backup of it all (for safety) and just rename the folders. When you open the solution VS should complain that it can't find the projects, and give you the option to locate them.
---
b { font-weight: normal; }
|
|
|
|
|
Hi,
Can anyone tell me if I can use .Net Framework 2.0 with Visual studio .Net 2002. I have not been able to add references of the system.dll of version 2.05. The message I get is something like not recognized COM or dll.
If can please explain how to use debug using 2.0v with VS .Net 2002.
Thanks
Vijay
Vijay
|
|
|
|
|
You cannot do this. Visual studio is tightly coupled to the framework. VS02 will work with .net1.0 only. Try the free Express versions or sharpdevelop if you don't want to buy VS05.
|
|
|
|
|
Hey Why do u want like that?
It's not poosible
"Aim to go where U have never been B4 and Strive to achieve it"
http://groups.yahoo.com/subscribe/dotnetforfreshers
http://himabinduvejella.blogspot.com
|
|
|
|
|
I am trying to communicate over Rs232 using a basic RS232 class for .NET. I am able to communicate fine for the most part with most devices. However, a few devices don't respond or respond with garbage when I try to receive data from them in my program. If I connect with HyperTerminal and send the same commands, I get a correct response, and if I try to connect with my application after having connected with HyperTerminal, my application talks fine with the devices.
It is almost as though HyperTerminal is doing some additional initialization that a straight serial connection isn't. Is there anything that anyone can think of that I could do to get my application to behave more similarly to the HyperTerminal way other than checking the settings such as baud rate, parity, stop bits and flow control?
I know this is sort of open ended, but there isn't really another way to describe it so far as I can tell.
Thanks for any feedback.
|
|
|
|
|
Hyperterminal doesn't do any extra initialisation so it something to do with your code I'm guessing. Check settings and encodings again
Sorry but in my experience if Hyperterminal does something and your program does something else then its almost guaranteed that it's not Hyperterminal. (I know there are faults but in my experience these only occur when you try something stupid / abnormal).
Ed
|
|
|
|
|
What terminal protocol are you using? Perhaps that has something. HyperTerm auto-negotiates the protocol by default when it connects.
My Blog[^] FFRF[^]
|
|
|
|
|
I have .Net 1.0.3705
When Setting TrustLevel for Remoting Application for Server as well as for the client, by following command,
Dim SProvider As IServerChannelSinkProvider
Dim CProvider As IClientChannelSinkProvider
SProvider = New BinaryServerFormatterSinkProvider()
CProvider = New BinaryClientFormatterSinkProvider()
CType(SProvider, BinaryServerFormatterSinkProvider).TypeFilterLevel = TypeFilterLevel.Full
chan = New TcpChannel(props, CProvider, SProvider)
I get an an error in the second last line. And when i comment it run run the serverand the client i get an error
like this:
<<""This remoting proxy has no channel sink
which means either the server has no registered server channels that are listening, or this application has no suitable client channel to talk to the server."">>
I have also read that all the remote application has Trustlevel =low ByDefault.
Help me out!!!
|
|
|
|
|
i have a combobox whose contents are being populated from a datasource. When the datasource is changed, the contents are not being updated. It still displays the old contents. The refresh function also does not work. Why is this happening?
Waiting for some help.
|
|
|
|
|
Hey guys!! doesn't anyone have a solution for my problem. I'm getting headaches!!!!!!!!!!!
|
|
|
|
|
Hi
I using XmlValidatingReader to validate xml against xml schema.
My xml is looking like this:
<some_name>
... some integer and string data
<xmlData>
... random xml data, like : <a>asdsds</a><b>dsds</b>
</xmlData>
</some_name>
I have no problem with integer and string data, but I don't know to which type to set xmlData element.
xmlData can contain random xml which structure unknown.
Any suggestions?
|
|
|
|
|
Hi,
OK - I've searched CP and Google (in that order...) and found next to nothing, so now I turn to the lounge for help. If this should be in the C# or .net framework forum, please say so and I will move it. The specific error at hand might suggest so, but I believe that the general question is, well, .. more general ?
Scenario:
My software (.Net 2.0 app) running on a client win2000 pc.
Problem:
After some time I get the mentioned error dialog from the framework. I think it is some sort of a failfast ? Anyway, I can't figure out from where the error originates and press the "What data does this error report contain?" link and get a new dialog box with this:
Error signature -------------------------------------------------------
EventType: clr20r3 P1: program.exe P2:1.83.2270.18759
P3: 441e74ff P4: system.windows.forms P5: 2.0.0.0 P6: 4333aefa
P7: 16b3 P8: 159 P9: system.componentmodel.win32
Reporting details -------------------------------------------------------
Bla bla bla...
"View the contents of the error report" link
"Read our Data Collection Policy" link [Close]
Pressing the "contents" link gives me yet another dialog box with this interesting information
Exception Information
Code: 0xe0434f4d Flags: 0x00000001
Record: 0x0000000000000000 Address: 0x000000007c59bc3f
General questions:
Since this is a debug compilation of the program, I would have expected the more informational "old" framework 1.1 error message with the call stack etc, that could tell me where things died. I don't know how to decipher the "error signature" above, as I can't find any official specification of WHAT the parameters P1 -> P9 actually contains. All that google gives from Microsoft is a load of "what has been fixed in <insert_ms_app_here>". Grr....
1)
What does the parameters mean ? Is there a specification somewhere ?
2)
Why don't I get the "old" 1.1 style error dialog with the stack trace. Can I do something to get that ?
Sigh... I moved to 2.0 to get better tracing and so, but it might turn out to be a bit less helpfull when something stops working. Any comments and links will be most welcome !
/Jan
Do you know why it's important to make fast decisions? Because you give yourself more time to correct your mistakes, when you find out that you made the wrong one. Chris Meech on deciding whether to go to his daughters graduation or a Neil Young concert
-- modified at 5:48 Wednesday 22nd March, 2006
|
|
|
|
|
|
Dear all,
I am doing a project which is loading the data from a DataSet into an in memory object Excel worksheet, then setting up the PrintTitleRows for the Excel worksheet, finally redirecting the in memory Excel worksheet to the client side.
When I run it, the error message is "System.Runtime.InteropServices.COMException (0x800A03EC): Unable to set the PrintTitleRows property of the PageSetup class at System.RuntimeType."
The following is my code, anyone can help me with it is highly appreciated.
Dim excelCol As New excelColumn
Public Structure excelColumn
Public data() As String
End Structure
Dim dt As New DataSet 'DataSet is filled in another fuction
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim iRow As Integer
Dim iCol As Integer
Dim myTable As DataTable
Dim filename As String
excelCol.data = New String(4) {}
excelCol.data(1) = "A"
excelCol.data(2) = "B"
excelCol.data(3) = "C"
Dim qxl As New Excel.Application
Dim qxlwb As Excel.Workbook
Dim qxlws, qxlwstemp As Excel.Worksheet
qxlwb = qxl.Workbooks.Add()
qxl.Visible = True
qxlws = DirectCast(qxlwb.Worksheets.Add, Excel.Worksheet)
qxlws.Name = "All Columns"
Try
For iRow = 0 To dt.Tables(0).Rows.Count - 1
For iCol = 0 To dt.Tables(0).Columns.Count - 1
If (iRow = 0) Then
qxlws.Range((excelCol.data(iCol + 1)) & CStr(iRow + 1)).Value = dt.Tables(0).Columns(iCol).ColumnName
End If
If (Not ((dt.Tables(0).Rows(iRow).Item(iCol)) Is DBNull.Value)) Then
qxlws.Range((excelCol.data(iCol + 1)) & CStr(iRow + 2)).Value = DirectCast(CStr(dt.Tables(0).Rows(iRow).Item(iCol)), String)
End If
If ((dt.Tables(0).Rows(iRow).Item(iCol)) Is DBNull.Value) Then
qxlws.Range((excelCol.data(iCol + 1)) & CStr(iRow + 2)).Value = ""
End If
Next iCol
Next iRow
qxlws.PageSetup.PrintTitleRows = "$1:$2"
'Me.Label1.Text = qxlws.Range((excelCol.data(2)) & CStr(9)).Value
Response.ContentType = "application/vnd.ms-excel"
Response.Write(qxlwb)
qxlws = Nothing
qxlwb = Nothing
qxl = Nothing
Catch ex As Exception
Me.Label1.Text = ex.ToString
Finally
If Not (qxlws Is Nothing) Then
ReleaseComObject(qxlws)
qxlws = Nothing
End If
If Not (qxlwb Is Nothing) Then
ReleaseComObject(qxlwb)
qxlwb = Nothing
End If
If Not (qxl Is Nothing) Then
ReleaseComObject(qxl)
qxl = Nothing
End If
System.GC.Collect()
End Try
End Sub
Jwu
|
|
|
|
|
HI,
I have a big problem. I don't know how make a GSM DATA CONNECTION with my PocketPC. I try to use TAPI. I succeed to make voicecall with MakeCall method, but i need to make datacall and connection GSM. I see a eVC program that me permit to make datacall, but i don't know how implement it in .NET2003. Who help me?
Thank's
Giuseppe Peschiera
g.peschiera@tiscali.it
Eng. Giuseppe Peschiera
|
|
|
|
|
I've started to use /clr in my old MFC app using VS 2005
How do I distribute my application in an easy way? It only works on computers having visual studio 2005.
I have run Dependency Walker an error is shown:
Error: The Side-by-Side configuration information in "MyApp.exe"contains errors. This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem (14001)
I got the following error when I try to launch my app:
This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem
All I want is to make my application run on another computer before lunchtime...
I have the .NET Framework 2.0 (dotnetfx.exe) installed on my other cpu.
_____________________________
...and justice for all
APe
|
|
|
|
|
Hi guys...
As you can probably tell from my question i am new to programming c# & the .net framework.
My question is to ask if it is possible to create an application that will play music when a caller is put on hold?(using a smart device).
Any help is greatly appriciated.
Regards.
|
|
|
|
|
That would depend heavily on your phones ability to even do this, regardless of the code used. You might want to find out before wasting a bunch of time trying to code something that will never work.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
unable to find any info so far...my phone is an spv m2000 (MS Mobile 2003).
|
|
|
|
|
Dear All
Kindly help me to insert a page break while printing using .net print document. I am printing using System.Drawing.Printing.PrintPageEventArgs.Graphics object.
Aman Tur
modified 9-Jul-22 21:01pm.
|
|
|
|
|
You do not explicitely insert a page break. Just set the HasMorePages property of the PrintPageEventArgs to true and another PrintPage event will fire after the current one is finished.
|
|
|
|
|
Thanks Roberts i found the solution few minutes later in some other code project article.
Regards
Aman Tur
modified 9-Jul-22 21:01pm.
|
|
|
|
|
Hi,
I'm trying to create a Tool Palette with some basic tools for AutoCad 2006 with .Net 2003, form which the user can drag and drop the tool directly from the Tool Pallete, can any one help me in this regard, thank U in advance.
Prakash.C
|
|
|
|