15,312,009 members
Sign in
Email
Password
Forgot your password?
Sign in with
Search within:
Articles
Quick Answers
Messages
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Python questions
View Javascript questions
View Java questions
discussions
forums
CodeProject SenseAI
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
stuff
Competitions
Conferences
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Comments by ukicomputers.github.io (Top 39 by date)
ukicomputers.github.io
12-May-22 5:47am
View
What a problem. Deactivated API. Deactivated AUTH key. Then if that doesnt work, contact Google support.
ukicomputers.github.io
12-May-22 5:45am
View
On what device you running? Do you have a CPU or a GPU encoding. And how you much have a RAM+ROM memory?
ukicomputers.github.io
12-May-22 5:42am
View
To see how to help you, please take an screenshot, what you getted (what you say : c) When I connect using Windows Remote Desktop connection, I get the XRDP login prompt, however when I enter the username and password and hit enter I get some strange X-windows pixelated checkerboard background and the X-windows big 'X' cursor which happily moves around the screen using the mouse.) and post on imgur and share link in comments!
ukicomputers.github.io
12-May-22 5:39am
View
Google Cloud is better. Azure to share screen with third party apps doesn't allow. One solutiotion (if you linux good in terminal) try to hack system!
ukicomputers.github.io
12-May-22 5:33am
View
Deleted
If you cannot do that in CSS:) take an image of boxes, and when click to change an image. But thats not what you want. Be smart:)
ukicomputers.github.io
12-May-22 5:24am
View
Ok. Thanks advance, for everyone give me an answer.
ukicomputers.github.io
11-May-22 11:25am
View
I missing is his want to somone answer (solve problem). Maybe for homework. (really, to code a example) to steps what he says
ukicomputers.github.io
11-May-22 10:46am
View
Any help?
ukicomputers.github.io
7-Jan-22 7:50am
View
Otherwise, this is my code:
int ndx = (sender as ListBox).SelectedIndex;
if (ndx == -1) return;
switch (ndx)
{
case 0:
ListBox devicesList = new ListBox();
this.newListBox = devicesList;
devicesList.Location = new Point(200, 78);
devicesList.BorderStyle = BorderStyle.Fixed3D;
//devicesList.Dock = DockStyle.Fill;
devicesList.Size = new Size(600, 372);
this.Controls.Add(devicesList);
break;
}
ukicomputers.github.io
7-Jan-22 7:43am
View
Yes, but wheno go onto next item in listbox, is doesn't works my script
ukicomputers.github.io
6-Jan-22 11:02am
View
But if can anyone help to me?
ukicomputers.github.io
6-Jan-22 10:39am
View
Sorry for my spell incorrect.
ukicomputers.github.io
6-Dec-21 17:09pm
View
That neddeds to me. 5ed!
ukicomputers.github.io
22-Nov-21 6:37am
View
Deleted
Yes, it's using.
ukicomputers.github.io
22-Nov-21 6:36am
View
5ed! That with you answered needed to me! Thanks!!
ukicomputers.github.io
22-Nov-21 1:12am
View
And button and panel. I'm asked two things in one question.
ukicomputers.github.io
15-Nov-21 7:03am
View
Yes, on debug is correctly, but some duplicating number on screen:)
ukicomputers.github.io
5-Nov-21 6:53am
View
I'am see, it's works how push button :-).
ukicomputers.github.io
1-Nov-21 2:43am
View
I'm NOTICED library WITH I'M USING.
ukicomputers.github.io
19-Oct-21 3:27am
View
Ok. But if'am good see :), problem is not in my code, problem in library. I'am tryed to add into library int main(){...} but this is not a helpful.
ukicomputers.github.io
19-Oct-21 3:24am
View
Да.
Али ја сам написан на латинском српском :) :). Otherwise, serbian don't have a alphabet (that speak in english) but have azbuka.
ukicomputers.github.io
18-Oct-21 6:28am
View
Deleted
This is my makefile (cmake):
add_subdirectory(keypad)
if (NOT PICO_NO_HARDWARE)
add_subdirectory(lcd_i2c_quotes)
endif ()
add_executable(blink
doorlock.cpp
#lcd_i2c_quotes/lcd_i2c_test.cpp
lcd_i2c_quotes/lcd_i2c.cpp
keypad/pico_keypad4x4.c
keypad/pico_keypad4x4.h
)
# Pull in our pico_stdlib which pulls in commonly used features
target_link_libraries(blink PUBLIC pico_stdlib hardware_gpio hardware_adc hardware_pwm hardware_i2c hardware_timer)
# create map/bin/hex file etc.
pico_add_extra_outputs(blink)
# add url via pico_set_program_url
example_auto_set_url(blink)
ukicomputers.github.io
18-Oct-21 6:27am
View
Deleted
I'am linked a library as executable? Ok, but to change how?
ukicomputers.github.io
18-Oct-21 6:19am
View
Ok. But how to do this? Otherwise, i'am in code set-up to start as:
int main()
{
...
}
ukicomputers.github.io
18-Oct-21 5:42am
View
Let me just say, don't be fooled, some notes are written in Serbian language.
ukicomputers.github.io
7-Oct-21 6:34am
View
ok. Just a moment
ukicomputers.github.io
7-Oct-21 6:24am
View
i'am sayed how to use method when_activated in micropython. Is the useful information???
ukicomputers.github.io
7-Oct-21 5:06am
View
Just to say, problem is in this line:
if currentMillis – previousMillis > interval and scanning == True:
And also to say: i'am added all libaries (as LCD).
ukicomputers.github.io
4-Oct-21 6:18am
View
Just to say, answer is not to just give a home page of Raspberry Pi.
ukicomputers.github.io
3-Sep-21 6:13am
View
Not a solutuon. Read a carefully my question.
ukicomputers.github.io
1-Aug-21 6:42am
View
I'am want to download this one file (WinPE-HTA.cab).
ukicomputers.github.io
6-Jul-21 7:57am
View
I'am downloaded today Visual Studio (older) :-]
ukicomputers.github.io
6-Jul-21 6:34am
View
RickZeeland, i'am have a C# 7.0, but can't ran? I'am used a link to develop a sandbox for you sended to me. And i'am working in visual studio 2017
ukicomputers.github.io
5-Jul-21 3:51am
View
I'@m edited a question. Again, sorry ☹.
ukicomputers.github.io
5-Jul-21 3:47am
View
Sorry. My personal error.
ukicomputers.github.io
4-Jul-21 12:15pm
View
see a question: i am not want to use a sn.exe
ukicomputers.github.io
30-Jun-21 4:50am
View
Very thanks OriginalGriff. I'am now learned how to post a Q&A. Again, thanks.
ukicomputers.github.io
30-Jun-21 4:22am
View
Hi, Maciej Los, program showed a error. I'am created program from Microsoft Docs.
This is code of all program:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Security;
using System.Security.Policy;
using System.Security.Permissions;
using System.Reflection;
using System.Runtime.Remoting;
using System.Windows.Forms;
namespace UkiSanbox
{
static class Program
{
///
/// The main entry point for the application.
///
class Sandboxer : MarshalByRefObject
{
const string pathToUntrusted = @"..\..\..\UkiSanbox\bin\Debug";
const string untrustedAssembly = "UntrustedCode";
const string untrustedClass = "UntrustedCode.UntrustedClass";
const string entryPoint = "IsFibonacci";
private static Object[] parameters = { 45 };
static void Main()
{
AppDomainSetup adSetup = new AppDomainSetup();
adSetup.ApplicationBase = Path.GetFullPath(pathToUntrusted);
PermissionSet permSet = new PermissionSet(PermissionState.None);
permSet.AddPermission(new SecurityPermission(SecurityPermissionFlag.Execution));
StrongName fullTrustAssembly = typeof(Sandboxer).Assembly.Evidence.GetHostEvidence<strongname>();
AppDomain newDomain = AppDomain.CreateDomain("Sandbox", null, adSetup, permSet, fullTrustAssembly);
ObjectHandle handle = Activator.CreateInstanceFrom(
newDomain, typeof(Sandboxer).Assembly.ManifestModule.FullyQualifiedName,
typeof(Sandboxer).FullName
);
Sandboxer newDomainInstance = (Sandboxer)handle.Unwrap();
newDomainInstance.ExecuteUntrustedCode(untrustedAssembly, untrustedClass, entryPoint, parameters);
}
public void ExecuteUntrustedCode(string assemblyName, string typeName, string entryPoint, Object[] parameters)
{
MethodInfo target = Assembly.Load(assemblyName).GetType(typeName).GetMethod(entryPoint);
try
{
bool retVal = (bool)target.Invoke(null, parameters);
}
catch (Exception ex)
{
new PermissionSet(PermissionState.Unrestricted).Assert();
Console.WriteLine("SecurityException caught:\n{0}", ex.ToString());
CodeAccessPermission.RevertAssert();
Console.ReadLine();
}
}
}
}
}
And program show problem in this line code:
AppDomain newDomain = AppDomain.CreateDomain("Sandbox", null, adSetup, permSet, fullTrustAssembly);
Problem is this: System.ArgumentException: 'A null StrongName was found in the full trust assembly list.'
How to fix it?
ukicomputers.github.io
26-Jun-21 5:26am
View
Deleted
Hi, Maciej Los, program showed a error. I'am created program from Microsoft Docs.
This is code of all program:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Security;
using System.Security.Policy;
using System.Security.Permissions;
using System.Reflection;
using System.Runtime.Remoting;
using System.Windows.Forms;
namespace UkiSanbox
{
static class Program
{
///
/// The main entry point for the application.
///
class Sandboxer : MarshalByRefObject
{
const string pathToUntrusted = @"..\..\..\UkiSanbox\bin\Debug";
const string untrustedAssembly = "UntrustedCode";
const string untrustedClass = "UntrustedCode.UntrustedClass";
const string entryPoint = "IsFibonacci";
private static Object[] parameters = { 45 };
static void Main()
{
AppDomainSetup adSetup = new AppDomainSetup();
adSetup.ApplicationBase = Path.GetFullPath(pathToUntrusted);
PermissionSet permSet = new PermissionSet(PermissionState.None);
permSet.AddPermission(new SecurityPermission(SecurityPermissionFlag.Execution));
StrongName fullTrustAssembly = typeof(Sandboxer).Assembly.Evidence.GetHostEvidence<strongname>();
AppDomain newDomain = AppDomain.CreateDomain("Sandbox", null, adSetup, permSet, fullTrustAssembly);
ObjectHandle handle = Activator.CreateInstanceFrom(
newDomain, typeof(Sandboxer).Assembly.ManifestModule.FullyQualifiedName,
typeof(Sandboxer).FullName
);
Sandboxer newDomainInstance = (Sandboxer)handle.Unwrap();
newDomainInstance.ExecuteUntrustedCode(untrustedAssembly, untrustedClass, entryPoint, parameters);
}
public void ExecuteUntrustedCode(string assemblyName, string typeName, string entryPoint, Object[] parameters)
{
MethodInfo target = Assembly.Load(assemblyName).GetType(typeName).GetMethod(entryPoint);
try
{
bool retVal = (bool)target.Invoke(null, parameters);
}
catch (Exception ex)
{
new PermissionSet(PermissionState.Unrestricted).Assert();
Console.WriteLine("SecurityException caught:\n{0}", ex.ToString());
CodeAccessPermission.RevertAssert();
Console.ReadLine();
}
}
}
}
}
And program show problem in this line code:
AppDomain newDomain = AppDomain.CreateDomain("Sandbox", null, adSetup, permSet, fullTrustAssembly);
Problem is this: System.ArgumentException: 'A null StrongName was found in the full trust assembly list.'
How to fix it?